Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 289.7 MB / 302.2 MB, free: 2.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 178.8 kB / 371.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 92.7 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.574e-05/4.584e-05, allocations: 8 kB / 0.8664 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3035, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9399/1.243, allocations: 142.4 MB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.244, allocations: 75.81 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01652/1.26, allocations: 6.942 MB / 1.126 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.405e-06/1.26, allocations: 0 / 1.126 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.753e-05/1.26, allocations: 10.95 kB / 1.126 GB, free: 38.38 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005164/1.261, allocations: 490.5 kB / 1.126 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.261, allocations: 8.031 kB / 1.126 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/1.261, allocations: 38.12 kB / 1.126 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/1.261, allocations: 29.44 kB / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/1.262, allocations: 329.5 kB / 1.127 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.262, allocations: 4 kB / 1.127 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/1.262, allocations: 10.5 kB / 1.127 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/1.262, allocations: 76.62 kB / 1.127 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.262, allocations: 0.8125 kB / 1.127 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.262, allocations: 7.562 kB / 1.127 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.262, allocations: 5.5 kB / 1.127 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.111e-05/1.262, allocations: 33.97 kB / 1.127 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/1.263, allocations: 452.2 kB / 1.127 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/1.263, allocations: 79.16 kB / 1.127 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/1.263, allocations: 23.36 kB / 1.127 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/1.263, allocations: 0 / 1.127 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/1.263, allocations: 94.3 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.263, allocations: 0 / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002542/1.263, allocations: 102.8 kB / 1.128 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.263, allocations: 51.41 kB / 1.128 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/1.264, allocations: 332.8 kB / 1.128 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.264, allocations: 29.02 kB / 1.128 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/1.264, allocations: 135.5 kB / 1.128 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.264, allocations: 22.48 kB / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/1.264, allocations: 2.938 kB / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/1.264, allocations: 339.7 kB / 1.128 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/1.264, allocations: 64.28 kB / 1.128 GB, free: 36.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/1.264, allocations: 94.94 kB / 1.129 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/1.264, allocations: 63.28 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.264, allocations: 0 / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002727/1.264, allocations: 213 kB / 1.129 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.264, allocations: 8.062 kB / 1.129 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.264, allocations: 3.938 kB / 1.129 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.264, allocations: 7.953 kB / 1.129 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.265, allocations: 23.55 kB / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.265, allocations: 4 kB / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.265, allocations: 19.31 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.265, allocations: 12.62 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/1.265, allocations: 124 kB / 1.129 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/1.265, allocations: 19.72 kB / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/1.265, allocations: 123.2 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.265, allocations: 3.953 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.265, allocations: 0 / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.265, allocations: 4 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.265, allocations: 239.9 kB / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.265, allocations: 0 / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/1.265, allocations: 8.875 kB / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.265, allocations: 3.984 kB / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/1.265, allocations: 7.25 kB / 1.129 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.265, allocations: 3.938 kB / 1.129 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.265, allocations: 3.953 kB / 1.129 GB, free: 35.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/1.266, allocations: 137 kB / 1.13 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/1.266, allocations: 103 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/1.266, allocations: 8.969 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/1.266, allocations: 11.47 kB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/1.266, allocations: 18.41 kB / 1.13 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.266, allocations: 3.953 kB / 1.13 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001952/1.266, allocations: 232.2 kB / 1.13 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.266, allocations: 0 / 1.13 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002412/1.266, allocations: 51.22 kB / 1.13 GB, free: 34.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/1.267, allocations: 0.9566 MB / 1.131 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002107/1.268, allocations: 106.9 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.268, allocations: 0 / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/1.268, allocations: 35.56 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.268, allocations: 53.62 kB / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/1.269, allocations: 362 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/1.269, allocations: 0.7531 MB / 1.132 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.636e-05/1.269, allocations: 32.94 kB / 1.132 GB, free: 32.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/1.269, allocations: 66.05 kB / 1.132 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.269, allocations: 4 kB / 1.132 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/1.286, allocations: 4.921 MB / 1.137 GB, free: 29.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.286, allocations: 212.4 kB / 1.137 GB, free: 29.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/3.219, allocations: 0 / 1.137 GB, free: 29.62 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)