Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.8 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 66.44 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007438/0.3749, allocations: 4.176 MB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.3779, allocations: 1.375 MB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.3784, allocations: 31.81 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.3788, allocations: 126.7 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.3791, allocations: 182.4 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009736/0.3801, allocations: 426.9 kB / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.3812, allocations: 0.9554 MB / 1.292 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.3818, allocations: 310.7 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.3822, allocations: 342.8 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.3826, allocations: 338.3 kB / 1.293 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3828, allocations: 88 kB / 1.293 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3829, allocations: 92 kB / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.3831, allocations: 183.3 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.3834, allocations: 386.1 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3846, allocations: 1.062 MB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3846, allocations: 0 / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3846, allocations: 0 / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3846, allocations: 3.938 kB / 1.294 GB, free: 1.188 MB / 0.9825 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.001972/0.3866, allocations: 1.088 MB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3867, allocations: 12.03 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.3868, allocations: 84.47 kB / 1.296 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.3878, allocations: 0.5037 MB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.3879, allocations: 49.67 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.388, allocations: 60.38 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.3891, allocations: 0.604 MB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3891, allocations: 3.938 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.3892, allocations: 24 kB / 1.297 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.3892, allocations: 16 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3903, allocations: 461 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.3934, allocations: 1.943 MB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.3944, allocations: 424.1 kB / 1.299 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.3948, allocations: 222.6 kB / 1.3 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.3949, allocations: 8.422 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005708/0.3955, allocations: 265.2 kB / 1.3 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/0.3955, allocations: 4 kB / 1.3 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001384/0.3968, allocations: 0.5809 MB / 1.301 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.3969, allocations: 63.84 kB / 1.301 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.3975, allocations: 446 kB / 1.301 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.3975, allocations: 33.7 kB / 1.301 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.3978, allocations: 328.8 kB / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.398, allocations: 174.5 kB / 1.302 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3982, allocations: 90.34 kB / 1.302 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.3984, allocations: 366.8 kB / 1.302 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.3988, allocations: 173.2 kB / 1.302 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.3992, allocations: 246.7 kB / 1.302 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.4001, allocations: 463 kB / 1.303 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4001, allocations: 0 / 1.303 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001128/0.4012, allocations: 0.5536 MB / 1.303 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.4013, allocations: 45.69 kB / 1.303 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4013, allocations: 4 kB / 1.303 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4013, allocations: 4 kB / 1.303 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.4018, allocations: 115.8 kB / 1.304 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4018, allocations: 4 kB / 1.304 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.4022, allocations: 63.53 kB / 1.304 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.4022, allocations: 23.98 kB / 1.304 GB, free: 7.41 MB / 0.9981 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0003179/0.4025, allocations: 212.2 kB / 1.304 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.4026, allocations: 59.61 kB / 1.304 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.4027, allocations: 69.52 kB / 1.304 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4027, allocations: 4 kB / 1.304 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4028, allocations: 0 / 1.304 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4028, allocations: 0 / 1.304 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.4047, allocations: 1.154 MB / 1.305 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4047, allocations: 0 / 1.305 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.4052, allocations: 95.88 kB / 1.305 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/0.4052, allocations: 4 kB / 1.305 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.4052, allocations: 11.98 kB / 1.305 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4052, allocations: 0 / 1.305 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4052, allocations: 0 / 1.305 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4066, allocations: 0.7652 MB / 1.306 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.4068, allocations: 99.45 kB / 1.306 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.4069, allocations: 8 kB / 1.306 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.4072, allocations: 31.97 kB / 1.306 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.4073, allocations: 36.38 kB / 1.306 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.4073, allocations: 8 kB / 1.306 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003854/0.4077, allocations: 310.9 kB / 1.306 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4077, allocations: 4 kB / 1.306 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004752/0.4082, allocations: 139.7 kB / 1.307 GB, free: 4.352 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.0001636/0.4083, allocations: 115.2 kB / 1.307 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009914/0.4093, allocations: 464.6 kB / 1.307 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4093, allocations: 0 / 1.307 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.4097, allocations: 198.4 kB / 1.307 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/0.4106, allocations: 168.7 kB / 1.307 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.4136, allocations: 1.394 MB / 1.309 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.4142, allocations: 0.89 MB / 1.31 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4144, allocations: 39.44 kB / 1.31 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.4144, allocations: 4 kB / 1.31 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.01372/0.4281, allocations: 7.663 MB / 1.317 GB, free: 9.398 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.389880821981933]