Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.322/2.322, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001135/0.001135, allocations: 181 kB / 498.1 MB, free: 5.727 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.587/1.587, allocations: 223.1 MB / 0.7948 GB, free: 17.94 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.001052/0.001051, allocations: 92.27 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003616, allocations: 8.469 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.4934, allocations: 153.2 MB / 1.373 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.4939, allocations: 95.91 kB / 1.373 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.5158, allocations: 8.134 MB / 1.381 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5158, allocations: 0 / 1.381 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.583e-05/0.5159, allocations: 12 kB / 1.381 GB, free: 0.5625 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001146/0.517, allocations: 0.6974 MB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5171, allocations: 16.02 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.997e-05/0.5172, allocations: 82.47 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.5173, allocations: 51.34 kB / 1.381 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.5179, allocations: 363.8 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.5179, allocations: 29 kB / 1.382 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.518, allocations: 40 kB / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.5187, allocations: 419 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5187, allocations: 0 / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.5188, allocations: 16 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5188, allocations: 8 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.5194, allocations: 299.9 kB / 1.383 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.5213, allocations: 1.328 MB / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.5222, allocations: 351.4 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.5223, allocations: 8 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.5227, allocations: 201.6 kB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/0.5227, allocations: 0 / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0008341/0.5235, allocations: 387.7 kB / 1.385 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.5236, allocations: 136.5 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.524, allocations: 364.8 kB / 1.385 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.5241, allocations: 33.7 kB / 1.385 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5242, allocations: 224.2 kB / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.5243, allocations: 94.64 kB / 1.386 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.5243, allocations: 8 kB / 1.386 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5245, allocations: 350.7 kB / 1.386 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.5247, allocations: 111.9 kB / 1.386 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.525, allocations: 188.5 kB / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.5253, allocations: 132.9 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5253, allocations: 0 / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006172/0.5259, allocations: 365.1 kB / 1.387 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.5262, allocations: 0.5292 MB / 1.387 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5262, allocations: 0 / 1.387 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5262, allocations: 4 kB / 1.387 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.5265, allocations: 67.91 kB / 1.387 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5265, allocations: 11.98 kB / 1.387 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5268, allocations: 55.67 kB / 1.387 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.5268, allocations: 8 kB / 1.387 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.5268, allocations: 4 kB / 1.387 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003409/0.5272, allocations: 237.3 kB / 1.388 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.5272, allocations: 4.125 kB / 1.388 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.688e-06/0.5272, allocations: 4 kB / 1.388 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.5274, allocations: 55.92 kB / 1.388 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.5274, allocations: 0 / 1.388 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5276, allocations: 43.67 kB / 1.388 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.5276, allocations: 12 kB / 1.388 GB, free: 8.984 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0002369/0.5278, allocations: 241 kB / 1.388 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.5279, allocations: 43.44 kB / 1.388 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/0.528, allocations: 51.66 kB / 1.388 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.528, allocations: 4 kB / 1.388 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.528, allocations: 0 / 1.388 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.528, allocations: 0 / 1.388 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.5294, allocations: 1 MB / 1.389 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5294, allocations: 0 / 1.389 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.5297, allocations: 63.91 kB / 1.389 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5297, allocations: 4 kB / 1.389 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5297, allocations: 8 kB / 1.389 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.5297, allocations: 7.953 kB / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5297, allocations: 4.281 kB / 1.389 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.5307, allocations: 0.7597 MB / 1.39 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.5308, allocations: 132.5 kB / 1.39 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.5308, allocations: 8 kB / 1.39 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.5311, allocations: 27.98 kB / 1.39 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.5311, allocations: 31.86 kB / 1.39 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.5312, allocations: 8 kB / 1.39 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000317/0.5315, allocations: 287.2 kB / 1.39 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5315, allocations: 3.938 kB / 1.39 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005618/0.5321, allocations: 131.5 kB / 1.39 GB, free: 5.977 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.001519/0.5336, allocations: 2.022 MB / 1.392 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007802/0.5344, allocations: 408.9 kB / 1.393 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5344, allocations: 0 / 1.393 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.5346, allocations: 132.7 kB / 1.393 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.5352, allocations: 86.97 kB / 1.393 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.5393, allocations: 3.112 MB / 1.396 GB, free: 28 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.5398, allocations: 0.8197 MB / 1.397 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.54, allocations: 51.25 kB / 1.397 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.5403, allocations: 143.4 kB / 1.397 GB, free: 15 MB / 0.9011 GB Notification: Performance of SimCode: time 9.42e-07/0.5403, allocations: 0 / 1.397 GB, free: 15 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.5619, allocations: 7.271 MB / 1.404 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.5622, allocations: 199.6 kB / 1.404 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.645, allocations: 5.656 kB / 1.404 GB, free: 7.699 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat