Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.289/2.289, allocations: 393.5 MB / 408.4 MB, free: 11 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.001318/0.001318, allocations: 175 kB / 0.4901 GB, free: 2.23 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.619/1.619, allocations: 223.1 MB / 0.7992 GB, free: 15.72 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.0008653/0.0008653, allocations: 95 kB / 0.9396 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003753, allocations: 10.34 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.4745, allocations: 154 MB / 1.38 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.4749, allocations: 95.92 kB / 1.38 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.4963, allocations: 8.136 MB / 1.388 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4964, allocations: 0 / 1.388 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.704e-05/0.4964, allocations: 12 kB / 1.388 GB, free: 2.938 MB / 0.8855 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.001426/0.4978, allocations: 0.7051 MB / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.4979, allocations: 11.97 kB / 1.388 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.4981, allocations: 74.53 kB / 1.388 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4982, allocations: 55.44 kB / 1.389 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.499, allocations: 363.7 kB / 1.389 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.4991, allocations: 29 kB / 1.389 GB, free: 1.609 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.4992, allocations: 44 kB / 1.389 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.5, allocations: 419 kB / 1.389 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5001, allocations: 0 / 1.389 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.5001, allocations: 16 kB / 1.389 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.5001, allocations: 12 kB / 1.389 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.5008, allocations: 299.8 kB / 1.39 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.5032, allocations: 1.328 MB / 1.391 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.5042, allocations: 355.4 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.5042, allocations: 4 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.5047, allocations: 198.9 kB / 1.391 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.5047, allocations: 0 / 1.391 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28): time 0.00084/0.5055, allocations: 391.1 kB / 1.392 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.787e-05/0.5056, allocations: 132.5 kB / 1.392 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.5061, allocations: 364.8 kB / 1.392 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.5061, allocations: 33.7 kB / 1.392 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.5063, allocations: 236.2 kB / 1.393 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.5064, allocations: 94.59 kB / 1.393 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.5064, allocations: 4 kB / 1.393 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5066, allocations: 354.8 kB / 1.393 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5068, allocations: 99.95 kB / 1.393 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.5071, allocations: 196 kB / 1.393 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.5074, allocations: 128.8 kB / 1.393 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5074, allocations: 0 / 1.393 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006592/0.5081, allocations: 361.6 kB / 1.394 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.5084, allocations: 0.5344 MB / 1.394 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5084, allocations: 0 / 1.394 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5084, allocations: 4 kB / 1.394 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.5087, allocations: 71.89 kB / 1.394 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.5087, allocations: 0 / 1.394 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.509, allocations: 59.67 kB / 1.394 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.509, allocations: 12 kB / 1.394 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.509, allocations: 7.938 kB / 1.394 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003611/0.5094, allocations: 236.8 kB / 1.395 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.5094, allocations: 0 / 1.395 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.5094, allocations: 4 kB / 1.395 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.5096, allocations: 55.92 kB / 1.395 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5097, allocations: 12.06 kB / 1.395 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5098, allocations: 39.67 kB / 1.395 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.5099, allocations: 12 kB / 1.395 GB, free: 11.34 MB / 0.9011 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.0002491/0.5101, allocations: 241.8 kB / 1.395 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.5102, allocations: 43.44 kB / 1.395 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.5103, allocations: 43.62 kB / 1.395 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5103, allocations: 4 kB / 1.395 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5103, allocations: 4 kB / 1.395 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5103, allocations: 0 / 1.395 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.5117, allocations: 0.993 MB / 1.396 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5118, allocations: 8.031 kB / 1.396 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.512, allocations: 59.84 kB / 1.396 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.512, allocations: 4 kB / 1.396 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.5121, allocations: 8 kB / 1.396 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.5121, allocations: 7.953 kB / 1.396 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5121, allocations: 7.938 kB / 1.396 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.5131, allocations: 0.7692 MB / 1.397 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5132, allocations: 132.5 kB / 1.397 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5133, allocations: 8 kB / 1.397 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.5135, allocations: 23.98 kB / 1.397 GB, free: 8.781 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.5136, allocations: 27.92 kB / 1.397 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.5136, allocations: 15.94 kB / 1.397 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003637/0.514, allocations: 287.2 kB / 1.397 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2e-07/0.514, allocations: 0 / 1.397 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005639/0.5145, allocations: 123.6 kB / 1.398 GB, free: 8.336 MB / 0.9011 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.001594/0.5161, allocations: 2.013 MB / 1.399 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007973/0.5169, allocations: 405.6 kB / 1.4 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.517, allocations: 0 / 1.4 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.5172, allocations: 140.8 kB / 1.4 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.5178, allocations: 79.38 kB / 1.4 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.5223, allocations: 3.125 MB / 1.403 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.5228, allocations: 0.8274 MB / 1.404 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002218/0.523, allocations: 47.25 kB / 1.404 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.5233, allocations: 147.4 kB / 1.404 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.953e-06/0.5233, allocations: 4 kB / 1.404 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5323/1.056, allocations: 7.257 MB / 1.411 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.056, allocations: 207.7 kB / 1.411 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.179, allocations: 2.109 kB / 1.411 GB, free: 169.5 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat