Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 387.1 MB / 399.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 169 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 101.1 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.557e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.345, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.506, allocations: 158.3 MB / 1.367 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/1.506, allocations: 73.59 kB / 1.367 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0317/1.538, allocations: 12.15 MB / 1.379 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.538, allocations: 0 / 1.379 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-05/1.538, allocations: 11.44 kB / 1.379 GB, free: 33.14 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001339/1.54, allocations: 0.9188 MB / 1.38 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.54, allocations: 7.719 kB / 1.38 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.54, allocations: 100.6 kB / 1.38 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.54, allocations: 89.44 kB / 1.38 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/1.541, allocations: 484.8 kB / 1.381 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/1.541, allocations: 49.62 kB / 1.381 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/1.541, allocations: 67.16 kB / 1.381 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/1.542, allocations: 0.5643 MB / 1.381 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.542, allocations: 3.719 kB / 1.381 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/1.542, allocations: 28.72 kB / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.542, allocations: 15.44 kB / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/1.542, allocations: 381.8 kB / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/1.545, allocations: 2.058 MB / 1.384 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/1.546, allocations: 0.8469 MB / 1.384 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/1.547, allocations: 241.7 kB / 1.385 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/1.547, allocations: 11.55 kB / 1.385 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/1.547, allocations: 253.4 kB / 1.385 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.806e-06/1.547, allocations: 3.844 kB / 1.385 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0006836/1.548, allocations: 437.8 kB / 1.385 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.548, allocations: 114.3 kB / 1.385 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/1.548, allocations: 452.4 kB / 1.386 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/1.548, allocations: 45.89 kB / 1.386 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/1.549, allocations: 320.5 kB / 1.386 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.549, allocations: 177.1 kB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/1.549, allocations: 11.91 kB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.549, allocations: 374.7 kB / 1.387 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/1.549, allocations: 174 kB / 1.387 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/1.549, allocations: 314.5 kB / 1.387 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/1.55, allocations: 220.5 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.55, allocations: 7.875 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008187/1.551, allocations: 0.5751 MB / 1.388 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003379/1.551, allocations: 0.739 MB / 1.389 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.551, allocations: 3.812 kB / 1.389 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.551, allocations: 3.844 kB / 1.389 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/1.551, allocations: 111.8 kB / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.551, allocations: 3.812 kB / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/1.552, allocations: 118.3 kB / 1.389 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/1.552, allocations: 26.67 kB / 1.389 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.552, allocations: 7.797 kB / 1.389 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007634/1.553, allocations: 0.5054 MB / 1.39 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/1.553, allocations: 224 / 1.39 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/1.553, allocations: 11.69 kB / 1.39 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/1.553, allocations: 83.5 kB / 1.39 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.553, allocations: 11.67 kB / 1.39 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/1.554, allocations: 106.9 kB / 1.39 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/1.554, allocations: 22.34 kB / 1.39 GB, free: 27.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0001576/1.554, allocations: 149.3 kB / 1.39 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/1.554, allocations: 61.67 kB / 1.39 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/1.554, allocations: 69.69 kB / 1.39 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/1.554, allocations: 7.844 kB / 1.39 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.554, allocations: 0 / 1.39 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.554, allocations: 3.844 kB / 1.39 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.556, allocations: 1.187 MB / 1.391 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/1.556, allocations: 0 / 1.391 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/1.556, allocations: 99.25 kB / 1.391 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.556, allocations: 3.938 kB / 1.391 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/1.556, allocations: 14.25 kB / 1.391 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.556, allocations: 3.688 kB / 1.391 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.556, allocations: 0 / 1.391 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/1.557, allocations: 0.7748 MB / 1.392 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/1.557, allocations: 138.8 kB / 1.392 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/1.557, allocations: 15.02 kB / 1.392 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.557, allocations: 46 kB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.557, allocations: 37.56 kB / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/1.558, allocations: 22.45 kB / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003695/1.558, allocations: 348.1 kB / 1.393 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.558, allocations: 0 / 1.393 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000736/1.559, allocations: 278.1 kB / 1.393 GB, free: 26.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * 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.001463/1.56, allocations: 1.529 MB / 1.394 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.561, allocations: 0.8939 MB / 1.395 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.561, allocations: 0 / 1.395 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/1.562, allocations: 205.6 kB / 1.395 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/1.562, allocations: 113.2 kB / 1.396 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/1.564, allocations: 0.9215 MB / 1.396 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/1.564, allocations: 0.9254 MB / 1.397 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000383/1.565, allocations: 103.9 kB / 1.397 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/1.565, allocations: 240.5 kB / 1.398 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of SimCode: time 1.623e-06/1.565, allocations: 3.938 kB / 1.398 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/1.596, allocations: 13.38 MB / 1.411 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.596, allocations: 180.4 kB / 1.411 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/4.174, allocations: 1.406 kB / 1.411 GB, free: 12.22 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)