Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00735/0.007349, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001521/0.001521, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 71.77 kB / 1.018 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00647/1.068, allocations: 4.14 MB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00296/1.071, allocations: 1.325 MB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/1.071, allocations: 23.88 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/1.072, allocations: 122.8 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003934/1.072, allocations: 190.3 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009158/1.073, allocations: 420.9 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009491/1.074, allocations: 0.9554 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/1.075, allocations: 458.1 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/1.075, allocations: 342.7 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/1.076, allocations: 330.4 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/1.076, allocations: 88 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/1.076, allocations: 92 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/1.076, allocations: 183.3 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003149/1.076, allocations: 398.1 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/1.077, allocations: 1.067 MB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.077, allocations: 0 / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/1.077, allocations: 0 / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.077, allocations: 0 / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001809/1.079, allocations: 1.096 MB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.079, allocations: 12.58 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/1.079, allocations: 92.42 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/1.08, allocations: 0.5654 MB / 1.178 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/1.08, allocations: 45.69 kB / 1.178 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/1.08, allocations: 64.38 kB / 1.178 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.081, allocations: 0.6039 MB / 1.179 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/1.081, allocations: 11.89 kB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/1.082, allocations: 24 kB / 1.179 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.082, allocations: 16 kB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/1.083, allocations: 461 kB / 1.179 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/1.085, allocations: 1.993 MB / 1.181 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/1.086, allocations: 441.5 kB / 1.182 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/1.087, allocations: 238.1 kB / 1.182 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/1.087, allocations: 4.438 kB / 1.182 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/1.087, allocations: 269.2 kB / 1.182 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=49): time 2.225e-06/1.087, allocations: 0 / 1.182 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.001305/1.089, allocations: 0.5846 MB / 1.183 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.089, allocations: 59.84 kB / 1.183 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/1.089, allocations: 450 kB / 1.183 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.089, allocations: 33.7 kB / 1.183 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/1.089, allocations: 328.9 kB / 1.184 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.09, allocations: 170.5 kB / 1.184 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.09, allocations: 98.23 kB / 1.184 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.09, allocations: 362.8 kB / 1.184 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/1.09, allocations: 165 kB / 1.184 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/1.091, allocations: 249.8 kB / 1.185 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/1.091, allocations: 455.9 kB / 1.185 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.091, allocations: 0 / 1.185 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009988/1.092, allocations: 0.5666 MB / 1.186 GB, free: 15.99 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/1.093, allocations: 37.64 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.093, allocations: 0 / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.093, allocations: 4 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/1.093, allocations: 115.8 kB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.093, allocations: 7.984 kB / 1.186 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/1.093, allocations: 67.84 kB / 1.186 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/1.093, allocations: 16 kB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002462/1.094, allocations: 207 kB / 1.186 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/1.094, allocations: 67.56 kB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/1.094, allocations: 61.58 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.094, allocations: 4 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.094, allocations: 0 / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.094, allocations: 11.98 kB / 1.186 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.096, allocations: 1.178 MB / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.096, allocations: 0 / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/1.096, allocations: 91.89 kB / 1.187 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.096, allocations: 0 / 1.187 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/1.096, allocations: 23.92 kB / 1.187 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.096, allocations: 4 kB / 1.187 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.096, allocations: 0 / 1.187 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.097, allocations: 0.7615 MB / 1.188 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/1.098, allocations: 176.7 kB / 1.188 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/1.098, allocations: 12 kB / 1.188 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/1.098, allocations: 19.97 kB / 1.188 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.098, allocations: 36.39 kB / 1.188 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/1.098, allocations: 16 kB / 1.188 GB, free: 12.99 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003264/1.098, allocations: 310.9 kB / 1.189 GB, free: 12.69 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 0 / 1.189 GB, free: 12.69 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004615/1.099, allocations: 143.6 kB / 1.189 GB, free: 12.55 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001589/1.099, allocations: 120.4 kB / 1.189 GB, free: 12.42 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009145/1.1, allocations: 489 kB / 1.189 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.1, allocations: 0.5 kB / 1.189 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/1.1, allocations: 218.4 kB / 1.19 GB, free: 11.72 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/1.101, allocations: 159 kB / 1.19 GB, free: 11.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/1.104, allocations: 1.351 MB / 1.191 GB, free: 10.19 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/1.104, allocations: 0.886 MB / 1.192 GB, free: 9.277 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002691/1.104, allocations: 64.58 kB / 1.192 GB, free: 9.215 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/1.105, allocations: 43.42 kB / 1.192 GB, free: 9.176 MB / 0.92 GB Notification: Performance of SimCode: time 6.82e-07/1.105, allocations: 4 kB / 1.192 GB, free: 9.172 MB / 0.92 GB Notification: Performance of Templates: time 0.01146/1.116, allocations: 6.016 MB / 1.198 GB, free: 3.238 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches