Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",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.376/2.376, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001228/0.001228, allocations: 177 kB / 498.1 MB, free: 5.68 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.545/1.545, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009524/0.0009524, allocations: 92.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 8.719 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.5072, allocations: 154.4 MB / 1.374 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5075, allocations: 91.88 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06307/0.5706, allocations: 24.44 MB / 1.398 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.096e-06/0.5707, allocations: 0 / 1.398 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001362/0.5708, allocations: 24 kB / 1.398 GB, free: 14.97 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003626/0.5745, allocations: 1.503 MB / 1.399 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5745, allocations: 8.031 kB / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/0.5749, allocations: 164.9 kB / 1.399 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/0.5753, allocations: 154.1 kB / 1.399 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.5771, allocations: 0.7737 MB / 1.4 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/0.5772, allocations: 86.17 kB / 1.4 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.5774, allocations: 119.9 kB / 1.4 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.5797, allocations: 1.104 MB / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.5797, allocations: 0 / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.5798, allocations: 48 kB / 1.402 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.5798, allocations: 28 kB / 1.402 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.5817, allocations: 0.859 MB / 1.402 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.5878, allocations: 3.699 MB / 1.406 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.5902, allocations: 1.091 MB / 1.407 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.5903, allocations: 9 kB / 1.407 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009145/0.5912, allocations: 465.1 kB / 1.408 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=92): time 4.769e-06/0.5912, allocations: 0 / 1.408 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.002335/0.5936, allocations: 1.128 MB / 1.409 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.5937, allocations: 218.6 kB / 1.409 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5949, allocations: 0.7793 MB / 1.41 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/0.595, allocations: 53.69 kB / 1.41 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/0.5955, allocations: 0.5163 MB / 1.41 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.5958, allocations: 311.5 kB / 1.41 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.5959, allocations: 16 kB / 1.41 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.596, allocations: 337.9 kB / 1.411 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.5968, allocations: 345.8 kB / 1.411 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.5976, allocations: 0.5069 MB / 1.412 GB, free: 240 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000817/0.5985, allocations: 412.6 kB / 1.412 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5985, allocations: 0 / 1.412 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002034/0.6005, allocations: 1.029 MB / 1.413 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.6009, allocations: 0.6517 MB / 1.414 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6009, allocations: 4 kB / 1.414 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.6009, allocations: 8 kB / 1.414 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.6017, allocations: 195.7 kB / 1.414 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.6017, allocations: 7.984 kB / 1.414 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.6025, allocations: 191 kB / 1.414 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.6026, allocations: 35.92 kB / 1.414 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6026, allocations: 4 kB / 1.414 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/0.6038, allocations: 0.7319 MB / 1.415 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6038, allocations: 4 kB / 1.415 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.6038, allocations: 4 kB / 1.415 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.6044, allocations: 155.8 kB / 1.415 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6044, allocations: 4 kB / 1.415 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.605, allocations: 147.2 kB / 1.415 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.6051, allocations: 32 kB / 1.415 GB, free: 12.56 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.0005271/0.6056, allocations: 340.7 kB / 1.415 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.6058, allocations: 118.5 kB / 1.416 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.6061, allocations: 123.8 kB / 1.416 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6061, allocations: 12 kB / 1.416 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.6061, allocations: 0 / 1.416 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6061, allocations: 7.969 kB / 1.416 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.6091, allocations: 1.879 MB / 1.418 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6091, allocations: 0 / 1.418 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.6098, allocations: 183.8 kB / 1.418 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.6099, allocations: 4 kB / 1.418 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.6099, allocations: 16 kB / 1.418 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6099, allocations: 4 kB / 1.418 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6099, allocations: 4 kB / 1.418 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.6124, allocations: 1.372 MB / 1.419 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.6126, allocations: 203.5 kB / 1.419 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.6128, allocations: 19.98 kB / 1.419 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.6132, allocations: 71.95 kB / 1.419 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.6133, allocations: 48.92 kB / 1.419 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.6134, allocations: 35.98 kB / 1.419 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000908/0.6143, allocations: 0.6074 MB / 1.42 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6143, allocations: 0 / 1.42 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001078/0.6154, allocations: 402.4 kB / 1.42 GB, free: 7.031 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002823/0.6182, allocations: 1.96 MB / 1.422 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002569/0.6208, allocations: 1.337 MB / 1.424 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.6208, allocations: 4 kB / 1.424 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.6216, allocations: 406 kB / 1.424 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6227, allocations: 234.4 kB / 1.424 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5433/1.166, allocations: 4.328 MB / 1.428 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/1.167, allocations: 1.109 MB / 1.43 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007924/1.168, allocations: 131.9 kB / 1.43 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000561/1.168, allocations: 474.1 kB / 1.43 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/1.168, allocations: 3.906 kB / 1.43 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/1.225, allocations: 20.35 MB / 1.45 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.225, allocations: 189.7 kB / 1.45 GB, free: 184 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.804, allocations: 3.062 kB / 1.45 GB, free: 184 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat does not exist to compare? outputFormat=mat