Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",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.35/2.35, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001715/0.001715, allocations: 183.2 kB / 0.4901 GB, free: 2.258 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.458/1.458, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008616/0.0008615, allocations: 98.27 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 14.19 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2637, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4489, allocations: 158.4 MB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4492, allocations: 83.94 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05242/0.5016, allocations: 19.86 MB / 1.403 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5017, allocations: 0 / 1.403 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.986e-05/0.5018, allocations: 28.12 kB / 1.403 GB, free: 7.094 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002173/0.5039, allocations: 1.245 MB / 1.405 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.504, allocations: 12.56 kB / 1.405 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.5042, allocations: 114.5 kB / 1.405 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.5045, allocations: 122.5 kB / 1.405 GB, free: 5.539 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.5065, allocations: 0.7307 MB / 1.406 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.5067, allocations: 87.69 kB / 1.406 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5068, allocations: 67.95 kB / 1.406 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.509, allocations: 0.7821 MB / 1.407 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.509, allocations: 3.938 kB / 1.407 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5091, allocations: 24 kB / 1.407 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.5092, allocations: 20 kB / 1.407 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.5111, allocations: 0.5673 MB / 1.407 GB, free: 3.168 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005181/0.5163, allocations: 2.345 MB / 1.409 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.5189, allocations: 0.7058 MB / 1.41 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.519, allocations: 12.55 kB / 1.41 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.5202, allocations: 343 kB / 1.41 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=60): time 4.118e-06/0.5202, allocations: 0 / 1.41 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60): time 0.002822/0.5231, allocations: 0.8261 MB / 1.411 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.5232, allocations: 141.1 kB / 1.411 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.5245, allocations: 0.6533 MB / 1.412 GB, free: 14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.5246, allocations: 41.69 kB / 1.412 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.5251, allocations: 444.5 kB / 1.412 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.5254, allocations: 212.9 kB / 1.413 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.5255, allocations: 8 kB / 1.413 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5256, allocations: 334 kB / 1.413 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008272/0.5265, allocations: 221.2 kB / 1.413 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.5275, allocations: 346.1 kB / 1.414 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.5284, allocations: 246.1 kB / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5284, allocations: 0 / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00221/0.5306, allocations: 0.701 MB / 1.414 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.531, allocations: 0.8715 MB / 1.415 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.5311, allocations: 7.953 kB / 1.415 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.5311, allocations: 4 kB / 1.415 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5325, allocations: 167.8 kB / 1.416 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.5326, allocations: 4 kB / 1.416 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.5335, allocations: 79.41 kB / 1.416 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/0.5336, allocations: 24 kB / 1.416 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5336, allocations: 4 kB / 1.416 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/0.5354, allocations: 0.5636 MB / 1.416 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5355, allocations: 4 kB / 1.416 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5355, allocations: 4 kB / 1.416 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5367, allocations: 151.8 kB / 1.416 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.5368, allocations: 8 kB / 1.416 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.5376, allocations: 79.59 kB / 1.416 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.5377, allocations: 20 kB / 1.416 GB, free: 9.375 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0006462/0.5384, allocations: 302.1 kB / 1.417 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.5386, allocations: 102.8 kB / 1.417 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.5389, allocations: 101.2 kB / 1.417 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.5389, allocations: 8 kB / 1.417 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5389, allocations: 0 / 1.417 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.539, allocations: 7.938 kB / 1.417 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.5428, allocations: 1.525 MB / 1.418 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5428, allocations: 0 / 1.418 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/0.5438, allocations: 115.8 kB / 1.419 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5439, allocations: 4 kB / 1.419 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.544, allocations: 12 kB / 1.419 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.544, allocations: 7.938 kB / 1.419 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.544, allocations: 0 / 1.419 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.547, allocations: 1.041 MB / 1.42 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.5475, allocations: 235.7 kB / 1.42 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.5477, allocations: 12 kB / 1.42 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.5486, allocations: 51.95 kB / 1.42 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5488, allocations: 36.5 kB / 1.42 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.5489, allocations: 16 kB / 1.42 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001155/0.55, allocations: 0.5224 MB / 1.42 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5501, allocations: 0 / 1.42 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001416/0.5515, allocations: 280.9 kB / 1.421 GB, free: 4.922 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.003496/0.555, allocations: 1.614 MB / 1.422 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.5579, allocations: 0.8666 MB / 1.423 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.558, allocations: 0 / 1.423 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.5589, allocations: 295.2 kB / 1.423 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.5607, allocations: 229.1 kB / 1.424 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4505/1.011, allocations: 3.618 MB / 1.427 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.012, allocations: 1.016 MB / 1.428 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008558/1.013, allocations: 115.8 kB / 1.428 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.013, allocations: 355.5 kB / 1.429 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.973e-06/1.013, allocations: 0 / 1.429 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/1.062, allocations: 16.68 MB / 1.445 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.063, allocations: 184.7 kB / 1.445 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.617, allocations: 7.219 kB / 1.445 GB, free: 177.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat