Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.000994, allocations: 172.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 87.95 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.46e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2684, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9449/1.213, allocations: 155.9 MB / 1.365 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.214, allocations: 80.81 kB / 1.365 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03967/1.253, allocations: 12.36 MB / 1.377 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.925e-06/1.253, allocations: 4 kB / 1.377 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.801e-05/1.253, allocations: 19.72 kB / 1.377 GB, free: 33.93 MB / 0.8386 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.001678/1.255, allocations: 0.8706 MB / 1.378 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.255, allocations: 15.5 kB / 1.378 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/1.255, allocations: 81.81 kB / 1.378 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/1.256, allocations: 0.5309 MB / 1.378 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/1.256, allocations: 43.34 kB / 1.378 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/1.257, allocations: 58.03 kB / 1.378 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/1.258, allocations: 0.6025 MB / 1.379 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.258, allocations: 3.984 kB / 1.379 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/1.258, allocations: 29.27 kB / 1.379 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/1.258, allocations: 11.56 kB / 1.379 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009646/1.259, allocations: 425.9 kB / 1.379 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/1.263, allocations: 2.102 MB / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/1.263, allocations: 427 kB / 1.382 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/1.264, allocations: 222.6 kB / 1.382 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/1.264, allocations: 11.56 kB / 1.382 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/1.265, allocations: 250 kB / 1.382 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=50): time 3.637e-06/1.265, allocations: 4 kB / 1.382 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=50): time 0.000942/1.266, allocations: 426.7 kB / 1.383 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/1.266, allocations: 166 kB / 1.383 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/1.266, allocations: 396.3 kB / 1.383 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/1.266, allocations: 39.48 kB / 1.383 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/1.266, allocations: 315.2 kB / 1.384 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/1.267, allocations: 174.3 kB / 1.384 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/1.267, allocations: 11.16 kB / 1.384 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.267, allocations: 365.6 kB / 1.384 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/1.267, allocations: 154.1 kB / 1.384 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/1.268, allocations: 259.4 kB / 1.384 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/1.268, allocations: 212.3 kB / 1.385 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.268, allocations: 0 / 1.385 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001005/1.269, allocations: 0.5287 MB / 1.385 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/1.269, allocations: 29.77 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.269, allocations: 11.83 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.269, allocations: 3.844 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/1.27, allocations: 123.3 kB / 1.385 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.27, allocations: 3.812 kB / 1.385 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/1.271, allocations: 91.27 kB / 1.385 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/1.271, allocations: 14.5 kB / 1.385 GB, free: 30.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0001861/1.271, allocations: 135 kB / 1.386 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/1.271, allocations: 61.92 kB / 1.386 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/1.271, allocations: 66.52 kB / 1.386 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.271, allocations: 7.688 kB / 1.386 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.271, allocations: 0 / 1.386 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.271, allocations: 3.984 kB / 1.386 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/1.273, allocations: 1.221 MB / 1.387 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.273, allocations: 0 / 1.387 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/1.274, allocations: 111.1 kB / 1.387 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.274, allocations: 0 / 1.387 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/1.274, allocations: 14.89 kB / 1.387 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.274, allocations: 3.844 kB / 1.387 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.274, allocations: 0 / 1.387 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.276, allocations: 0.7542 MB / 1.388 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/1.276, allocations: 176.5 kB / 1.388 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/1.276, allocations: 18.55 kB / 1.388 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/1.276, allocations: 45.75 kB / 1.388 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.277, allocations: 46.94 kB / 1.388 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/1.277, allocations: 14.72 kB / 1.388 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004311/1.277, allocations: 314.1 kB / 1.388 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.277, allocations: 0 / 1.388 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000644/1.278, allocations: 152.4 kB / 1.389 GB, free: 28.78 MB / 0.8386 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.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001914/1.278, allocations: 126.6 kB / 1.389 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008364/1.279, allocations: 461 kB / 1.389 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.279, allocations: 384 / 1.389 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/1.279, allocations: 216.1 kB / 1.389 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/1.28, allocations: 141.5 kB / 1.389 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/1.283, allocations: 1.258 MB / 1.391 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.284, allocations: 0.8999 MB / 1.392 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004586/1.284, allocations: 63 kB / 1.392 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/1.285, allocations: 41.94 kB / 1.392 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/1.285, allocations: 3.844 kB / 1.392 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.01469/1.299, allocations: 6.246 MB / 1.398 GB, free: 24.07 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","../files/Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches