Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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.194/2.194, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00114/0.00114, allocations: 179.5 kB / 498.1 MB, free: 5.809 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 18.02 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.0009219/0.000922, allocations: 110.5 kB / 0.9346 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 14.09 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2759, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.462, allocations: 150.4 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4624, allocations: 75.95 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01698/0.4794, allocations: 6.455 MB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4794, allocations: 0 / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.145e-05/0.4795, allocations: 16 kB / 1.376 GB, free: 5.109 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001243/0.4807, allocations: 0.6743 MB / 1.377 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4808, allocations: 8.031 kB / 1.377 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.4809, allocations: 78.53 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4811, allocations: 55.3 kB / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.4816, allocations: 330.2 kB / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.4816, allocations: 29 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.4817, allocations: 47.91 kB / 1.377 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.4824, allocations: 415 kB / 1.378 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.4825, allocations: 4 kB / 1.378 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.4825, allocations: 16 kB / 1.378 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4825, allocations: 12 kB / 1.378 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.4832, allocations: 291.9 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.4854, allocations: 1.316 MB / 1.379 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.4861, allocations: 305 kB / 1.38 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.4861, allocations: 4 kB / 1.38 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.4865, allocations: 197.6 kB / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.4865, allocations: 0 / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.0008273/0.4874, allocations: 390.8 kB / 1.38 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.4874, allocations: 136.5 kB / 1.38 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.4879, allocations: 356.7 kB / 1.381 GB, free: 260 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.4879, allocations: 37.64 kB / 1.381 GB, free: 216 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4881, allocations: 220.2 kB / 1.381 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.4882, allocations: 94.7 kB / 1.381 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.4882, allocations: 8 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4884, allocations: 346.8 kB / 1.381 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.4886, allocations: 115.9 kB / 1.382 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.4889, allocations: 196.3 kB / 1.382 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4892, allocations: 129.6 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4893, allocations: 8 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006862/0.4899, allocations: 365.1 kB / 1.382 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.4902, allocations: 0.5263 MB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4902, allocations: 7.938 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4902, allocations: 7.938 kB / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.4905, allocations: 71.89 kB / 1.383 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4906, allocations: 4 kB / 1.383 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.4908, allocations: 67.5 kB / 1.383 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.4909, allocations: 12 kB / 1.383 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.4909, allocations: 5.406 kB / 1.383 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004192/0.4913, allocations: 240 kB / 1.383 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4913, allocations: 8.125 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4914, allocations: 4 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.4916, allocations: 55.92 kB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4916, allocations: 7.938 kB / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4918, allocations: 39.67 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4918, allocations: 8 kB / 1.383 GB, free: 13.62 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.0002238/0.492, allocations: 241 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4921, allocations: 39.53 kB / 1.383 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.4925, allocations: 209 kB / 1.384 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4926, allocations: 8.031 kB / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4926, allocations: 0 / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4926, allocations: 4 kB / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.4941, allocations: 1.045 MB / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.4942, allocations: 8.344 kB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.4944, allocations: 55.91 kB / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4944, allocations: 4 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.4945, allocations: 15.95 kB / 1.385 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4945, allocations: 4 kB / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.4945, allocations: 11.94 kB / 1.385 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.4955, allocations: 0.792 MB / 1.386 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4956, allocations: 124.6 kB / 1.386 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.4957, allocations: 15.95 kB / 1.386 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.4959, allocations: 31.97 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.496, allocations: 19.98 kB / 1.386 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.496, allocations: 8 kB / 1.386 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002977/0.4963, allocations: 283.2 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4963, allocations: 96 / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005515/0.4969, allocations: 139.5 kB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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.001528/0.4984, allocations: 2.199 MB / 1.388 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000813/0.4992, allocations: 409.2 kB / 1.389 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4992, allocations: 0 / 1.389 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.4995, allocations: 136.9 kB / 1.389 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.5, allocations: 70.89 kB / 1.389 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.5041, allocations: 3.045 MB / 1.392 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5045, allocations: 0.8158 MB / 1.393 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.5047, allocations: 39.27 kB / 1.393 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.5049, allocations: 143.4 kB / 1.393 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of SimCode: time 6.52e-07/0.5049, allocations: 0 / 1.393 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.5297, allocations: 6.841 MB / 1.4 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.53, allocations: 199 kB / 1.4 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.691, allocations: 0 / 1.4 GB, free: 12.35 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat does not exist to compare? outputFormat=mat