Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.254/2.254, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001115/0.001115, allocations: 176.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 0.7915 GB, free: 5.473 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.0009028/0.0009028, allocations: 91.89 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.809e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2693, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8759/1.145, allocations: 158.5 MB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.146, allocations: 90.34 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01943/1.165, allocations: 7.523 MB / 1.381 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.165, allocations: 0 / 1.381 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.244e-05/1.165, allocations: 8 kB / 1.381 GB, free: 5.238 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001017/1.166, allocations: 0.6471 MB / 1.382 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.166, allocations: 12.03 kB / 1.382 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.726e-05/1.166, allocations: 76.95 kB / 1.382 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.166, allocations: 59.3 kB / 1.382 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/1.167, allocations: 397.8 kB / 1.382 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/1.167, allocations: 27.78 kB / 1.382 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/1.167, allocations: 37.94 kB / 1.382 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/1.168, allocations: 402.2 kB / 1.383 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.168, allocations: 3.938 kB / 1.383 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/1.168, allocations: 15.5 kB / 1.383 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.168, allocations: 11.95 kB / 1.383 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/1.168, allocations: 251.4 kB / 1.383 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/1.17, allocations: 1.373 MB / 1.384 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/1.17, allocations: 312.7 kB / 1.385 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/1.171, allocations: 131.2 kB / 1.385 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/1.171, allocations: 4 kB / 1.385 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/1.171, allocations: 178.5 kB / 1.385 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/1.171, allocations: 0 / 1.385 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004687/1.172, allocations: 274.7 kB / 1.385 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/1.172, allocations: 140.4 kB / 1.385 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/1.172, allocations: 316 kB / 1.386 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/1.172, allocations: 32.89 kB / 1.386 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.172, allocations: 223.6 kB / 1.386 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/1.172, allocations: 105.6 kB / 1.386 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/1.172, allocations: 7.25 kB / 1.386 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.172, allocations: 353.1 kB / 1.386 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/1.173, allocations: 91.94 kB / 1.386 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/1.173, allocations: 178 kB / 1.387 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/1.173, allocations: 98.42 kB / 1.387 GB, free: 448 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.173, allocations: 4 kB / 1.387 GB, free: 444 kB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004485/1.173, allocations: 327 kB / 1.387 GB, free: 192 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.173, allocations: 9.25 kB / 1.387 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.173, allocations: 3.984 kB / 1.387 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.173, allocations: 4 kB / 1.387 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/1.174, allocations: 62.72 kB / 1.387 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.174, allocations: 4 kB / 1.387 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/1.174, allocations: 54.42 kB / 1.387 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/1.174, allocations: 15.42 kB / 1.387 GB, free: 52 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001246/1.174, allocations: 131.2 kB / 1.387 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/1.174, allocations: 43.56 kB / 1.387 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/1.174, allocations: 43.88 kB / 1.387 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.174, allocations: 4 kB / 1.387 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.174, allocations: 7.938 kB / 1.387 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.174, allocations: 7.984 kB / 1.387 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/1.175, allocations: 0.8259 MB / 1.388 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.175, allocations: 4 kB / 1.388 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.176, allocations: 55.47 kB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.176, allocations: 3.938 kB / 1.388 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/1.176, allocations: 7.25 kB / 1.388 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.176, allocations: 4 kB / 1.388 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.176, allocations: 3.938 kB / 1.388 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/1.176, allocations: 0.5069 MB / 1.389 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/1.177, allocations: 150.2 kB / 1.389 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/1.177, allocations: 3.188 kB / 1.389 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/1.177, allocations: 31.92 kB / 1.389 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/1.177, allocations: 31.64 kB / 1.389 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.177, allocations: 8 kB / 1.389 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002347/1.177, allocations: 246.7 kB / 1.389 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/1.177, allocations: 0 / 1.389 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003459/1.178, allocations: 86.69 kB / 1.389 GB, free: 14.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009662/1.179, allocations: 1.058 MB / 1.39 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004049/1.179, allocations: 247.3 kB / 1.39 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.179, allocations: 0 / 1.39 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/1.179, allocations: 134.9 kB / 1.391 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/1.18, allocations: 77.72 kB / 1.391 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/1.181, allocations: 0.6455 MB / 1.391 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/1.181, allocations: 0.8269 MB / 1.392 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001739/1.182, allocations: 47.25 kB / 1.392 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/1.182, allocations: 145.6 kB / 1.392 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.182, allocations: 0 / 1.392 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/1.202, allocations: 7.385 MB / 1.4 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.202, allocations: 178.9 kB / 1.4 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/3.148, allocations: 0 / 1.4 GB, free: 4.023 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat does not exist to compare? outputFormat=mat