Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 99.55 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.001587/0.001588, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003309, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6952, allocations: 142.3 MB / 0.9535 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002793/0.698, allocations: 2.645 MB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.6994, allocations: 0.8902 MB / 0.957 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.6997, allocations: 12.56 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.16e-05/0.6997, allocations: 37.02 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.7001, allocations: 115.9 kB / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.7004, allocations: 169.4 kB / 0.9573 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.7008, allocations: 339.7 kB / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.7011, allocations: 182.9 kB / 0.9578 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.7013, allocations: 151.3 kB / 0.9579 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.7015, allocations: 142.7 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.7015, allocations: 13.84 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.7016, allocations: 17.31 kB / 0.9581 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.7016, allocations: 60.47 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.7017, allocations: 100 kB / 0.9582 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.702, allocations: 439.1 kB / 0.9587 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.702, allocations: 4 kB / 0.9587 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.702, allocations: 0 / 0.9587 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.702, allocations: 0 / 0.9587 GB, free: 4.242 MB / 0.7169 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.0009254/0.703, allocations: 0.6918 MB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.703, allocations: 10.16 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.7031, allocations: 61.73 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.7036, allocations: 388 kB / 0.9598 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.7036, allocations: 28.12 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.7037, allocations: 46.11 kB / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.7043, allocations: 390 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.7043, allocations: 1.375 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.7043, allocations: 10.75 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.7043, allocations: 9.625 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.7048, allocations: 276.3 kB / 0.9605 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.7063, allocations: 1.335 MB / 0.9618 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.707, allocations: 309.9 kB / 0.9621 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.707, allocations: 2.344 kB / 0.9621 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.7074, allocations: 177.2 kB / 0.9623 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.7074, allocations: 1.281 kB / 0.9623 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0008165/0.7083, allocations: 384.2 kB / 0.9626 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7083, allocations: 82.67 kB / 0.9627 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.7087, allocations: 348.2 kB / 0.9631 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.7087, allocations: 41.64 kB / 0.9631 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.7088, allocations: 235.5 kB / 0.9633 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.7089, allocations: 100.5 kB / 0.9634 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.7089, allocations: 9.062 kB / 0.9634 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.709, allocations: 351.6 kB / 0.9638 GB, free: 176 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7093, allocations: 99.89 kB / 0.9638 GB, free: 124 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.7095, allocations: 183.8 kB / 0.964 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.7098, allocations: 114.6 kB / 0.9641 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7098, allocations: 0 / 0.9641 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005999/0.7104, allocations: 346.4 kB / 0.9645 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7105, allocations: 6.25 kB / 0.9645 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7105, allocations: 5.25 kB / 0.9645 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7105, allocations: 7.531 kB / 0.9645 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.7108, allocations: 70.08 kB / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7108, allocations: 3.75 kB / 0.9646 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.711, allocations: 41.2 kB / 0.9646 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.711, allocations: 14.09 kB / 0.9646 GB, free: 15.69 MB / 0.7325 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.0002161/0.7113, allocations: 175.8 kB / 0.9648 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.7113, allocations: 37.84 kB / 0.9648 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.7114, allocations: 49.3 kB / 0.9649 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7114, allocations: 3.656 kB / 0.9649 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7115, allocations: 0 / 0.9649 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7115, allocations: 0 / 0.9649 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.7126, allocations: 0.813 MB / 0.9657 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7126, allocations: 0 / 0.9657 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.7128, allocations: 53.34 kB / 0.9657 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7129, allocations: 2.438 kB / 0.9657 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.7129, allocations: 9.312 kB / 0.9657 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7129, allocations: 1.344 kB / 0.9657 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7129, allocations: 1.344 kB / 0.9657 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.7137, allocations: 0.5261 MB / 0.9662 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.7139, allocations: 137.5 kB / 0.9664 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.7139, allocations: 7.281 kB / 0.9664 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.7142, allocations: 32.14 kB / 0.9664 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.7143, allocations: 24.03 kB / 0.9664 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.7143, allocations: 10.23 kB / 0.9664 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002844/0.7146, allocations: 236.6 kB / 0.9667 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7146, allocations: 1.031 kB / 0.9667 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003964/0.715, allocations: 88.5 kB / 0.9667 GB, free: 14.12 MB / 0.7325 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.0001633/0.7152, allocations: 116.9 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.7158, allocations: 264.5 kB / 0.9671 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7158, allocations: 0 / 0.9671 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.7161, allocations: 131.7 kB / 0.9672 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.7165, allocations: 84.17 kB / 0.9673 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.7181, allocations: 0.9646 MB / 0.9683 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.7185, allocations: 0.8205 MB / 0.9691 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.7186, allocations: 45.83 kB / 0.9691 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.7187, allocations: 28.94 kB / 0.9691 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7187, allocations: 0 / 0.9691 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.007341/0.7261, allocations: 3.244 MB / 0.9723 GB, free: 10.75 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches