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.499/2.499, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001606/0.001606, allocations: 196.4 kB / 487.4 MB, free: 5.047 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.631/1.631, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009346, allocations: 102.1 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.838e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2793, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8615/1.141, allocations: 149.7 MB / 1.352 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.141, allocations: 72.97 kB / 1.352 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01717/1.158, allocations: 6.399 MB / 1.359 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.044e-06/1.159, allocations: 0 / 1.359 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.469e-05/1.159, allocations: 7.688 kB / 1.359 GB, free: 33.79 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0008494/1.159, allocations: 0.6158 MB / 1.359 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.159, allocations: 7.688 kB / 1.359 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/1.16, allocations: 54.41 kB / 1.359 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/1.16, allocations: 323.5 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.16, allocations: 15.41 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/1.16, allocations: 31.09 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003741/1.16, allocations: 220 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/1.161, allocations: 326.4 kB / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/1.161, allocations: 0 / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/1.161, allocations: 0 / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/1.161, allocations: 11.62 kB / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/1.163, allocations: 1.215 MB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/1.163, allocations: 200.4 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/1.163, allocations: 135.5 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/1.163, allocations: 7.781 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/1.163, allocations: 164.3 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/1.163, allocations: 0 / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003479/1.164, allocations: 213.4 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.164, allocations: 132.4 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/1.164, allocations: 257.2 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/1.164, allocations: 25.7 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.164, allocations: 234.5 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/1.164, allocations: 88.31 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/1.164, allocations: 0 / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.164, allocations: 335.9 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.165, allocations: 79.69 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.165, allocations: 157.4 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/1.165, allocations: 100 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.165, allocations: 0 / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003411/1.165, allocations: 281.5 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/1.165, allocations: 0.5309 MB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.165, allocations: 3.844 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.165, allocations: 3.844 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/1.166, allocations: 78.2 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.166, allocations: 11.34 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/1.166, allocations: 42.25 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.166, allocations: 14.5 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/1.166, allocations: 3.844 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002777/1.166, allocations: 208 kB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-06/1.166, allocations: 0 / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/1.166, allocations: 3.969 kB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/1.167, allocations: 56.94 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/1.167, allocations: 0 / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.167, allocations: 26.17 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.167, allocations: 11.22 kB / 1.365 GB, free: 30.73 MB / 0.8386 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 () * 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 9.831e-05/1.167, allocations: 112.8 kB / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002532/1.167, allocations: 222.3 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/1.167, allocations: 23.19 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/1.167, allocations: 165.1 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.167, allocations: 3.812 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.167, allocations: 0 / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.167, allocations: 3.375 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/1.168, allocations: 0.9119 MB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.168, allocations: 4.031 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/1.169, allocations: 59.67 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.169, allocations: 3.844 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.169, allocations: 10.81 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.169, allocations: 3.812 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.169, allocations: 11.77 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/1.169, allocations: 0.6857 MB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/1.169, allocations: 110.9 kB / 1.367 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/1.169, allocations: 6.656 kB / 1.367 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/1.17, allocations: 28.88 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/1.17, allocations: 20.89 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/1.17, allocations: 14.61 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001659/1.17, allocations: 197.5 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 3.938 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004789/1.17, allocations: 127.8 kB / 1.367 GB, free: 29.25 MB / 0.8386 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 () * 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.001168/1.172, allocations: 2.072 MB / 1.369 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004308/1.172, allocations: 336.7 kB / 1.37 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.172, allocations: 0 / 1.37 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/1.172, allocations: 99.14 kB / 1.37 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/1.173, allocations: 66.56 kB / 1.37 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/1.174, allocations: 0.6039 MB / 1.37 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.174, allocations: 0.8235 MB / 1.371 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001945/1.174, allocations: 52.47 kB / 1.371 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/1.175, allocations: 128.4 kB / 1.371 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.175, allocations: 4 kB / 1.371 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/1.199, allocations: 5.825 MB / 1.377 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.199, allocations: 158.7 kB / 1.377 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/3.228, allocations: 0 / 1.377 GB, free: 25.72 MB / 0.8386 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