Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",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.248/2.248, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.0011/0.001101, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.436/1.436, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.000868/0.0008677, allocations: 98.52 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.816e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9015/1.128, allocations: 157.5 MB / 1.366 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/1.128, allocations: 75.3 kB / 1.366 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04748/1.176, allocations: 19.83 MB / 1.386 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.176, allocations: 0 / 1.386 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001063/1.176, allocations: 23.12 kB / 1.386 GB, free: 30.63 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001842/1.178, allocations: 1.086 MB / 1.387 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.178, allocations: 7.5 kB / 1.387 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/1.178, allocations: 109.4 kB / 1.387 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/1.178, allocations: 126.3 kB / 1.387 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/1.179, allocations: 0.7193 MB / 1.388 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/1.179, allocations: 83.97 kB / 1.388 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/1.18, allocations: 66.91 kB / 1.388 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/1.18, allocations: 0.7388 MB / 1.389 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.181, allocations: 3.906 kB / 1.389 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/1.181, allocations: 24.78 kB / 1.389 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/1.181, allocations: 18.62 kB / 1.389 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/1.181, allocations: 489.6 kB / 1.389 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/1.184, allocations: 2.348 MB / 1.391 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000947/1.185, allocations: 0.594 MB / 1.392 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/1.186, allocations: 223.2 kB / 1.392 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/1.186, allocations: 8.25 kB / 1.392 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/1.186, allocations: 307.5 kB / 1.393 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/1.186, allocations: 0 / 1.393 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0007709/1.187, allocations: 0.5207 MB / 1.393 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.187, allocations: 136.8 kB / 1.393 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/1.188, allocations: 0.6502 MB / 1.394 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/1.188, allocations: 40.3 kB / 1.394 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/1.188, allocations: 436.7 kB / 1.394 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.188, allocations: 199.6 kB / 1.394 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.188, allocations: 14.69 kB / 1.394 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/1.188, allocations: 331 kB / 1.395 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/1.188, allocations: 186.4 kB / 1.395 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/1.189, allocations: 300.6 kB / 1.395 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/1.189, allocations: 207.1 kB / 1.395 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.189, allocations: 3.938 kB / 1.395 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007984/1.19, allocations: 0.6195 MB / 1.396 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/1.19, allocations: 0.8716 MB / 1.397 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.19, allocations: 3.984 kB / 1.397 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.19, allocations: 11.67 kB / 1.397 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/1.191, allocations: 161.7 kB / 1.397 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/1.191, allocations: 3.812 kB / 1.397 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/1.192, allocations: 84.64 kB / 1.397 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/1.192, allocations: 19.03 kB / 1.397 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.192, allocations: 5.25 kB / 1.397 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006788/1.192, allocations: 0.5016 MB / 1.398 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/1.192, allocations: 0 / 1.398 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/1.192, allocations: 7.625 kB / 1.398 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/1.193, allocations: 151.1 kB / 1.398 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.193, allocations: 8.219 kB / 1.398 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/1.194, allocations: 76.41 kB / 1.398 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/1.194, allocations: 26.52 kB / 1.398 GB, free: 24.93 MB / 0.8386 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 () * 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.0001352/1.194, allocations: 137.7 kB / 1.398 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.194, allocations: 104.8 kB / 1.398 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/1.194, allocations: 104.1 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.194, allocations: 11.66 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.194, allocations: 0 / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.194, allocations: 3.984 kB / 1.398 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/1.196, allocations: 1.437 MB / 1.4 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.196, allocations: 0 / 1.4 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/1.196, allocations: 119.3 kB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/1.196, allocations: 0 / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/1.196, allocations: 11.06 kB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.196, allocations: 3.844 kB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.196, allocations: 0 / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.198, allocations: 0.9157 MB / 1.401 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/1.198, allocations: 238.3 kB / 1.401 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-05/1.198, allocations: 16.34 kB / 1.401 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/1.198, allocations: 51.02 kB / 1.401 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/1.199, allocations: 34.69 kB / 1.401 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/1.199, allocations: 30.38 kB / 1.401 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005911/1.199, allocations: 0.5057 MB / 1.402 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.199, allocations: 0 / 1.402 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007079/1.2, allocations: 287.1 kB / 1.402 GB, free: 23.2 MB / 0.8386 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 () * 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.001471/1.201, allocations: 1.486 MB / 1.403 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001103/1.203, allocations: 0.7818 MB / 1.404 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.203, allocations: 0 / 1.404 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/1.203, allocations: 252.8 kB / 1.404 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.204, allocations: 226.7 kB / 1.404 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/1.206, allocations: 1.319 MB / 1.406 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/1.207, allocations: 1.015 MB / 1.407 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007375/1.207, allocations: 177.7 kB / 1.407 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.208, allocations: 340 kB / 1.407 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.208, allocations: 0 / 1.407 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/1.242, allocations: 18.38 MB / 1.425 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/1.242, allocations: 159.9 kB / 1.425 GB, free: 272 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.94, allocations: 0 / 1.425 GB, free: 272 kB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat