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.001424/0.001424, allocations: 104.5 kB / 16.35 MB, free: 5.828 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.001475/0.001476, allocations: 193.2 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 63.56 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2909, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004859/0.2958, allocations: 3.168 MB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.2978, allocations: 0.9583 MB / 0.9551 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.2981, allocations: 15.94 kB / 0.9552 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.2983, allocations: 75.19 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.2986, allocations: 99.09 kB / 0.9553 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2991, allocations: 235.7 kB / 0.9555 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000501/0.2996, allocations: 0.5504 MB / 0.9561 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.3001, allocations: 259.5 kB / 0.9563 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.3003, allocations: 203.1 kB / 0.9565 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.3005, allocations: 206.8 kB / 0.9567 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.3006, allocations: 52 kB / 0.9568 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.3007, allocations: 52 kB / 0.9568 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3008, allocations: 111.7 kB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.301, allocations: 238.6 kB / 0.9572 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.3015, allocations: 0.5838 MB / 0.9577 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3015, allocations: 0 / 0.9577 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3016, allocations: 4 kB / 0.9577 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3016, allocations: 0 / 0.9577 GB, free: 1.227 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.001116/0.3027, allocations: 0.7621 MB / 0.9585 GB, free: 424 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3027, allocations: 19.97 kB / 0.9585 GB, free: 404 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.3028, allocations: 52.28 kB / 0.9585 GB, free: 352 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.3035, allocations: 416.8 kB / 0.9589 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.3035, allocations: 29.38 kB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.3036, allocations: 36.38 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.3042, allocations: 405.9 kB / 0.9594 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3043, allocations: 3.938 kB / 0.9594 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.3043, allocations: 16 kB / 0.9594 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3043, allocations: 8 kB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.3049, allocations: 267.8 kB / 0.9597 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3065, allocations: 1.301 MB / 0.9609 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.3072, allocations: 314.5 kB / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3075, allocations: 144.7 kB / 0.9614 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3075, allocations: 0 / 0.9614 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.3079, allocations: 181.4 kB / 0.9616 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.3079, allocations: 0 / 0.9616 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.0007884/0.3087, allocations: 379.5 kB / 0.9619 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3087, allocations: 81.11 kB / 0.962 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.3092, allocations: 353.6 kB / 0.9623 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3092, allocations: 37.7 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3094, allocations: 233 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3094, allocations: 106.5 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3096, allocations: 70.06 kB / 0.9628 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3097, allocations: 346.8 kB / 0.9631 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3099, allocations: 100.7 kB / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3102, allocations: 176.3 kB / 0.9634 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.3106, allocations: 255.8 kB / 0.9636 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3106, allocations: 0 / 0.9636 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000573/0.3112, allocations: 358.3 kB / 0.9639 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3112, allocations: 8 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3112, allocations: 0 / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3113, allocations: 8.188 kB / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.3115, allocations: 59.91 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3115, allocations: 4 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3117, allocations: 39.67 kB / 0.9641 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3118, allocations: 16 kB / 0.9641 GB, free: 10.41 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.3119, allocations: 178 kB / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.312, allocations: 43.47 kB / 0.9643 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.3121, allocations: 44.25 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3121, allocations: 4 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3121, allocations: 0 / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3121, allocations: 3.984 kB / 0.9643 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3132, allocations: 0.8073 MB / 0.9651 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3132, allocations: 0 / 0.9651 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.3135, allocations: 47.91 kB / 0.9652 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.3135, allocations: 15.92 kB / 0.9652 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.3135, allocations: 4 kB / 0.9652 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3135, allocations: 0 / 0.9652 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3136, allocations: 7.938 kB / 0.9652 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.3144, allocations: 0.5116 MB / 0.9657 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3145, allocations: 140.6 kB / 0.9658 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.3146, allocations: 12.06 kB / 0.9658 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3148, allocations: 15.98 kB / 0.9658 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.3148, allocations: 19.97 kB / 0.9659 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3149, allocations: 15.98 kB / 0.9659 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002196/0.3151, allocations: 239.2 kB / 0.9661 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3151, allocations: 0 / 0.9661 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003386/0.3155, allocations: 91.62 kB / 0.9662 GB, free: 8.129 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.3156, allocations: 119.1 kB / 0.9663 GB, free: 8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.3161, allocations: 260.3 kB / 0.9666 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3161, allocations: 0 / 0.9666 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.3164, allocations: 139.8 kB / 0.9667 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.3169, allocations: 88.5 kB / 0.9668 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3183, allocations: 0.7974 MB / 0.9676 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3188, allocations: 0.819 MB / 0.9684 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.319, allocations: 43.27 kB / 0.9684 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.3191, allocations: 31.44 kB / 0.9684 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.3191, allocations: 0 / 0.9684 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of Templates: time 0.00953/0.3286, allocations: 3.641 MB / 0.972 GB, free: 2.18 MB / 0.7481 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches