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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.556/2.556, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.928/4.928, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006719/0.0006727, allocations: 4 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434/1.434, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00622/1.441, allocations: 2.654 MB / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003318/1.444, allocations: 0.8848 MB / 0.9843 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/1.445, allocations: 15.94 kB / 0.9843 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/1.445, allocations: 35.58 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007687/1.446, allocations: 111.7 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/1.446, allocations: 178.4 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009108/1.447, allocations: 332.6 kB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/1.448, allocations: 183.7 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/1.449, allocations: 151.2 kB / 0.9853 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/1.449, allocations: 147.1 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/1.449, allocations: 16 kB / 0.9854 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/1.449, allocations: 16 kB / 0.9855 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/1.449, allocations: 59.69 kB / 0.9855 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/1.449, allocations: 101.5 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/1.45, allocations: 429.2 kB / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.45, allocations: 0 / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.986e-06/1.45, allocations: 0 / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.485e-05/1.45, allocations: 3.938 kB / 0.986 GB, free: 0.9609 MB / 0.7325 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.002328/1.453, allocations: 0.7017 MB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.99e-05/1.453, allocations: 12.03 kB / 0.9867 GB, free: 204 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/1.453, allocations: 78.53 kB / 0.9868 GB, free: 116 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/1.453, allocations: 51.34 kB / 0.9868 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.454, allocations: 391.7 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/1.454, allocations: 29 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.455, allocations: 47.89 kB / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.456, allocations: 389.6 kB / 0.9877 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.456, allocations: 3.938 kB / 0.9877 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/1.456, allocations: 19.94 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/1.456, allocations: 11.98 kB / 0.9877 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.457, allocations: 267.8 kB / 0.9879 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/1.46, allocations: 1.328 MB / 0.9892 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.462, allocations: 311.2 kB / 0.9895 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/1.462, allocations: 0 / 0.9895 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006682/1.462, allocations: 173.5 kB / 0.9897 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 4.168e-06/1.462, allocations: 0 / 0.9897 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001507/1.464, allocations: 395.4 kB / 0.9901 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.464, allocations: 85.06 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/1.465, allocations: 349.6 kB / 0.9905 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/1.465, allocations: 33.7 kB / 0.9905 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/1.465, allocations: 240.3 kB / 0.9908 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/1.466, allocations: 98.55 kB / 0.9909 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/1.466, allocations: 8 kB / 0.9909 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002698/1.466, allocations: 350.8 kB / 0.9912 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/1.466, allocations: 100.7 kB / 0.9913 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/1.467, allocations: 168.6 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/1.467, allocations: 109.6 kB / 0.9916 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.467, allocations: 4 kB / 0.9916 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001205/1.469, allocations: 346.9 kB / 0.9919 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/1.469, allocations: 8 kB / 0.9919 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.469, allocations: 0 / 0.9919 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.469, allocations: 4 kB / 0.9919 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/1.469, allocations: 75.83 kB / 0.992 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/1.469, allocations: 7.953 kB / 0.992 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/1.47, allocations: 43.86 kB / 0.992 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/1.47, allocations: 12 kB / 0.992 GB, free: 10.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0004041/1.47, allocations: 173.8 kB / 0.9922 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/1.47, allocations: 35.53 kB / 0.9922 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/1.47, allocations: 48.23 kB / 0.9923 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.47, allocations: 8 kB / 0.9923 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.47, allocations: 7.875 kB / 0.9923 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.47, allocations: 7.953 kB / 0.9923 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/1.473, allocations: 0.7987 MB / 0.9931 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.473, allocations: 0 / 0.9931 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/1.473, allocations: 59.91 kB / 0.9931 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.473, allocations: 0 / 0.9931 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/1.473, allocations: 4 kB / 0.9931 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/1.473, allocations: 7.953 kB / 0.9932 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.136e-05/1.473, allocations: 4 kB / 0.9932 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/1.475, allocations: 0.5149 MB / 0.9937 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/1.475, allocations: 132.7 kB / 0.9938 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.475, allocations: 8 kB / 0.9938 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/1.476, allocations: 27.88 kB / 0.9938 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.476, allocations: 27.92 kB / 0.9938 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/1.476, allocations: 7.984 kB / 0.9939 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006411/1.477, allocations: 247.2 kB / 0.9941 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.51e-07/1.477, allocations: 0 / 0.9941 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008494/1.478, allocations: 83.69 kB / 0.9942 GB, free: 8.203 MB / 0.7481 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.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * 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.002684/1.48, allocations: 1.064 MB / 0.9952 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.482, allocations: 267.7 kB / 0.9955 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.482, allocations: 448 / 0.9955 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005319/1.482, allocations: 143.8 kB / 0.9956 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/1.483, allocations: 70.02 kB / 0.9957 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00961/1.493, allocations: 3.183 MB / 0.9988 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/1.494, allocations: 0.8347 MB / 0.9996 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003737/1.494, allocations: 43.25 kB / 0.9996 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/1.494, allocations: 139.4 kB / 0.9998 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of SimCode: time 1.503e-06/1.494, allocations: 0 / 0.9998 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/1.527, allocations: 6.953 MB / 1.007 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004323/1.528, allocations: 202.3 kB / 1.007 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/4.755, allocations: 0 / 1.007 GB, free: 11.36 MB / 0.7637 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) Environment - environmentSimulation: 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