Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01325/0.01325, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001186/0.001186, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.013/2.013, allocations: 194.5 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.571/2.571, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 8 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.727, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.9868, allocations: 132.3 MB / 0.8126 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004631/0.9873, allocations: 83.95 kB / 0.8127 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05296/1.04, allocations: 7.593 MB / 0.8201 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.127e-06/1.04, allocations: 192 / 0.8201 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.611e-05/1.04, allocations: 19.94 kB / 0.8201 GB, free: 2.109 MB / 0.6355 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.01056/1.051, allocations: 0.6994 MB / 0.8208 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/1.051, allocations: 8.031 kB / 0.8208 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/1.051, allocations: 74.53 kB / 0.8209 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/1.052, allocations: 59.3 kB / 0.821 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/1.058, allocations: 403.4 kB / 0.8214 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.058, allocations: 29 kB / 0.8214 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/1.058, allocations: 43.98 kB / 0.8214 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/1.06, allocations: 422.4 kB / 0.8218 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/1.061, allocations: 4.219 kB / 0.8218 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.061, allocations: 16 kB / 0.8218 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/1.061, allocations: 11.94 kB / 0.8219 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/1.067, allocations: 299.8 kB / 0.8221 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/1.072, allocations: 1.371 MB / 0.8235 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.073, allocations: 363 kB / 0.8238 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.376e-05/1.073, allocations: 12.48 kB / 0.8238 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008996/1.082, allocations: 185.5 kB / 0.824 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 5.03e-06/1.082, allocations: 0 / 0.824 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001977/1.084, allocations: 434.6 kB / 0.8244 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.084, allocations: 132.5 kB / 0.8246 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/1.085, allocations: 324.7 kB / 0.8249 GB, free: 13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/1.085, allocations: 41.7 kB / 0.8249 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/1.086, allocations: 224.2 kB / 0.8251 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.004024/1.09, allocations: 102.5 kB / 0.8252 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/1.09, allocations: 12 kB / 0.8252 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.09, allocations: 350.8 kB / 0.8256 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/1.09, allocations: 112 kB / 0.8257 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.091, allocations: 191.1 kB / 0.8259 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/1.092, allocations: 125.6 kB / 0.826 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.092, allocations: 0 / 0.826 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001436/1.093, allocations: 378.1 kB / 0.8263 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002778/1.094, allocations: 449.3 kB / 0.8268 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.094, allocations: 0 / 0.8268 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.094, allocations: 4 kB / 0.8268 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/1.098, allocations: 67.91 kB / 0.8268 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.098, allocations: 7.938 kB / 0.8268 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/1.099, allocations: 47.81 kB / 0.8269 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/1.099, allocations: 12 kB / 0.8269 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.099, allocations: 4 kB / 0.8269 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/1.1, allocations: 276.1 kB / 0.8272 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.1, allocations: 7.922 kB / 0.8272 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.1, allocations: 4 kB / 0.8272 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/1.101, allocations: 63.81 kB / 0.8272 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.101, allocations: 7.984 kB / 0.8272 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/1.101, allocations: 39.67 kB / 0.8273 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/1.101, allocations: 20.12 kB / 0.8273 GB, free: 10.43 MB / 0.6511 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 () * Number of clocked 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.0004936/1.102, allocations: 241.1 kB / 0.8275 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/1.102, allocations: 43.47 kB / 0.8276 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/1.102, allocations: 44.25 kB / 0.8276 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.102, allocations: 7.953 kB / 0.8276 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.102, allocations: 3.984 kB / 0.8276 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.102, allocations: 0 / 0.8276 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/1.105, allocations: 0.87 MB / 0.8285 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.105, allocations: 0 / 0.8285 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/1.106, allocations: 51.91 kB / 0.8285 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/1.106, allocations: 7.953 kB / 0.8285 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/1.106, allocations: 11.98 kB / 0.8285 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.106, allocations: 0 / 0.8285 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.114, allocations: 0 / 0.8285 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/1.116, allocations: 0.5655 MB / 0.8291 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/1.116, allocations: 140.6 kB / 0.8292 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.116, allocations: 15.94 kB / 0.8292 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/1.117, allocations: 32.05 kB / 0.8293 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.117, allocations: 27.95 kB / 0.8293 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/1.117, allocations: 11.94 kB / 0.8293 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005869/1.118, allocations: 251.2 kB / 0.8296 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.118, allocations: 0 / 0.8296 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004435/1.122, allocations: 151.5 kB / 0.8297 GB, free: 7.871 MB / 0.6511 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) * 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.002764/1.125, allocations: 1.122 MB / 0.8308 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002013/1.127, allocations: 452.1 kB / 0.8312 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/1.127, allocations: 0 / 0.8312 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/1.128, allocations: 159.8 kB / 0.8314 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/1.129, allocations: 79.44 kB / 0.8315 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/1.137, allocations: 2.982 MB / 0.8344 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/1.138, allocations: 0.8276 MB / 0.8352 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00231/1.14, allocations: 47.25 kB / 0.8352 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/1.151, allocations: 151.3 kB / 0.8354 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of SimCode: time 4.468e-06/1.151, allocations: 0 / 0.8354 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/1.225, allocations: 7.638 MB / 0.8428 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/1.225, allocations: 193 kB / 0.843 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/4.156, allocations: 4 kB / 0.843 GB, free: 10.22 MB / 0.6667 GB