Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.734/1.734, 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.001458/0.001458, allocations: 179.5 kB / 371.6 MB, free: 3.387 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.715/1.715, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009494/0.0009493, allocations: 89.67 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.661e-05/4.668e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9763/1.276, allocations: 142.4 MB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.277, allocations: 78.91 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01756/1.294, allocations: 7.027 MB / 1.126 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.255e-06/1.294, allocations: 2.953 kB / 1.126 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.467e-05/1.294, allocations: 8.5 kB / 1.126 GB, free: 38.33 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006214/1.295, allocations: 490 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.295, allocations: 16.03 kB / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/1.295, allocations: 41.52 kB / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/1.295, allocations: 25.44 kB / 1.127 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/1.296, allocations: 330.2 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.296, allocations: 8.469 kB / 1.127 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/1.296, allocations: 8 kB / 1.127 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/1.296, allocations: 92.17 kB / 1.127 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.296, allocations: 7.938 kB / 1.127 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.296, allocations: 3.812 kB / 1.127 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.296, allocations: 0 / 1.127 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-05/1.296, allocations: 47.16 kB / 1.127 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/1.297, allocations: 475.3 kB / 1.127 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/1.297, allocations: 76.62 kB / 1.128 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/1.297, allocations: 24.67 kB / 1.128 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/1.297, allocations: 11.22 kB / 1.128 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/1.297, allocations: 73.56 kB / 1.128 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.297, allocations: 0 / 1.128 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002481/1.297, allocations: 105.6 kB / 1.128 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.297, allocations: 54.92 kB / 1.128 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/1.298, allocations: 344.5 kB / 1.128 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.298, allocations: 25.7 kB / 1.128 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/1.298, allocations: 149.3 kB / 1.128 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/1.298, allocations: 19.03 kB / 1.128 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.298, allocations: 0 / 1.128 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/1.298, allocations: 337 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/1.298, allocations: 66.91 kB / 1.129 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.298, allocations: 97.14 kB / 1.129 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/1.298, allocations: 62.97 kB / 1.129 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.298, allocations: 4.031 kB / 1.129 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002785/1.299, allocations: 216.1 kB / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.299, allocations: 7.234 kB / 1.129 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.299, allocations: 2.047 kB / 1.129 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.299, allocations: 4 kB / 1.129 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.299, allocations: 23.36 kB / 1.129 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.299, allocations: 4.5 kB / 1.129 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/1.299, allocations: 22.84 kB / 1.129 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/1.299, allocations: 12.03 kB / 1.129 GB, free: 35.6 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 6.291e-05/1.299, allocations: 112.9 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/1.299, allocations: 23.67 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/1.299, allocations: 118.6 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.299, allocations: 3.984 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.299, allocations: 4 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.299, allocations: 3.562 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/1.3, allocations: 251.2 kB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.3, allocations: 0 / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/1.3, allocations: 12.81 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.3, allocations: 0.75 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.3, allocations: 7.469 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.3, allocations: 4 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.3, allocations: 1.172 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/1.3, allocations: 130.9 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/1.3, allocations: 104.2 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/1.3, allocations: 4.938 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/1.3, allocations: 19.42 kB / 1.13 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/1.3, allocations: 15.3 kB / 1.13 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/1.3, allocations: 4 kB / 1.13 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002184/1.3, allocations: 234.3 kB / 1.13 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.3, allocations: 0 / 1.13 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002769/1.301, allocations: 55.12 kB / 1.13 GB, free: 34.64 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.001234/1.302, allocations: 0.9604 MB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002123/1.302, allocations: 106 kB / 1.131 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.302, allocations: 0 / 1.131 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.636e-05/1.302, allocations: 41.06 kB / 1.131 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/1.303, allocations: 60.05 kB / 1.131 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/1.303, allocations: 359.5 kB / 1.132 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/1.303, allocations: 0.7498 MB / 1.132 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000109/1.304, allocations: 35.83 kB / 1.132 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.304, allocations: 66.11 kB / 1.132 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/1.304, allocations: 0 / 1.132 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/1.322, allocations: 4.964 MB / 1.137 GB, free: 29.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.322, allocations: 200.2 kB / 1.138 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/3.191, allocations: 7.875 kB / 1.138 GB, free: 29.48 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)