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.347/2.347, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001216/0.001216, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.416/1.416, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 90.59 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.443e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2604, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8928/1.153, allocations: 155.2 MB / 1.358 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.153, allocations: 75.77 kB / 1.358 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02854/1.182, allocations: 12.26 MB / 1.37 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.182, allocations: 6.75 kB / 1.37 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.787e-05/1.182, allocations: 15.56 kB / 1.37 GB, free: 33.39 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.001679/1.184, allocations: 0.8749 MB / 1.37 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.184, allocations: 7.656 kB / 1.37 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/1.184, allocations: 81.44 kB / 1.371 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/1.185, allocations: 0.5305 MB / 1.371 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/1.185, allocations: 27.02 kB / 1.371 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/1.185, allocations: 38.62 kB / 1.371 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007197/1.186, allocations: 394.3 kB / 1.371 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/1.187, allocations: 0.5163 MB / 1.372 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.187, allocations: 7.797 kB / 1.372 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/1.187, allocations: 4 kB / 1.372 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.187, allocations: 15.5 kB / 1.372 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/1.19, allocations: 1.976 MB / 1.374 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/1.19, allocations: 405.8 kB / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/1.191, allocations: 201.2 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/1.191, allocations: 19.33 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/1.191, allocations: 233.3 kB / 1.375 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=50): time 2.605e-06/1.191, allocations: 0 / 1.375 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=50): time 0.0006385/1.192, allocations: 399.4 kB / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.192, allocations: 158.5 kB / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/1.192, allocations: 355.4 kB / 1.376 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.192, allocations: 25.7 kB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.192, allocations: 323.2 kB / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.192, allocations: 162 kB / 1.376 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/1.192, allocations: 7.875 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.193, allocations: 362.3 kB / 1.376 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/1.193, allocations: 148.5 kB / 1.377 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/1.193, allocations: 245.6 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/1.193, allocations: 169.2 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.193, allocations: 0 / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006842/1.194, allocations: 473.5 kB / 1.377 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/1.194, allocations: 33.39 kB / 1.377 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.194, allocations: 0 / 1.377 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.194, allocations: 3.812 kB / 1.377 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/1.195, allocations: 129.2 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.195, allocations: 3.875 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/1.195, allocations: 65 kB / 1.378 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/1.195, allocations: 21.2 kB / 1.378 GB, free: 30.39 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.0001441/1.195, allocations: 118.2 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/1.195, allocations: 57.7 kB / 1.378 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.196, allocations: 60.08 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-06/1.196, allocations: 3.844 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.196, allocations: 2.531 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.196, allocations: 2.953 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/1.197, allocations: 1.11 MB / 1.379 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.197, allocations: 4 kB / 1.379 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/1.197, allocations: 114 kB / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.197, allocations: 0 / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.197, allocations: 7.281 kB / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.197, allocations: 0 / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.197, allocations: 0 / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/1.198, allocations: 0.7161 MB / 1.38 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/1.199, allocations: 180.5 kB / 1.38 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/1.199, allocations: 14.22 kB / 1.38 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/1.199, allocations: 42.53 kB / 1.38 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/1.199, allocations: 35.12 kB / 1.38 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/1.199, allocations: 10.94 kB / 1.38 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002612/1.199, allocations: 276.6 kB / 1.38 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.199, allocations: 0 / 1.38 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004286/1.2, allocations: 131.8 kB / 1.38 GB, free: 29.48 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.0001558/1.2, allocations: 108.6 kB / 1.381 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005504/1.201, allocations: 443.5 kB / 1.381 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.201, allocations: 0 / 1.381 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/1.201, allocations: 197.2 kB / 1.381 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/1.201, allocations: 122.1 kB / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/1.204, allocations: 1.24 MB / 1.383 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/1.205, allocations: 0.9045 MB / 1.383 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003009/1.205, allocations: 63.33 kB / 1.383 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/1.205, allocations: 38.55 kB / 1.384 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/1.205, allocations: 0 / 1.384 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.009792/1.215, allocations: 5.522 MB / 1.389 GB, free: 25.23 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