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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 176] 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=5012,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=5012,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 67.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3576, allocations: 160.7 MB / 1.214 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007818/0.3654, allocations: 4.151 MB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.3692, allocations: 1.329 MB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.3697, allocations: 23.88 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.3702, allocations: 122.8 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.3707, allocations: 186.4 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.372, allocations: 426.4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.3733, allocations: 0.9593 MB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005938/0.3739, allocations: 318.2 kB / 1.221 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.3743, allocations: 322.8 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.3748, allocations: 346.2 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.3749, allocations: 92 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.375, allocations: 92 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.3753, allocations: 179.4 kB / 1.222 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.3758, allocations: 390.1 kB / 1.223 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.3772, allocations: 1.066 MB / 1.224 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3772, allocations: 4 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3772, allocations: 0 / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3773, allocations: 0 / 1.224 GB, free: 6.922 MB / 0.9669 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.002089/0.3793, allocations: 1.1 MB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3794, allocations: 15.98 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.3795, allocations: 88.42 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3806, allocations: 0.5654 MB / 1.225 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.3806, allocations: 45.69 kB / 1.226 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.3807, allocations: 64.33 kB / 1.226 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.382, allocations: 0.604 MB / 1.226 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.382, allocations: 7.938 kB / 1.226 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.382, allocations: 24 kB / 1.226 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3821, allocations: 16 kB / 1.226 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.3831, allocations: 457 kB / 1.227 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.3861, allocations: 2.001 MB / 1.229 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.3871, allocations: 417.7 kB / 1.229 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.3876, allocations: 222.1 kB / 1.229 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3876, allocations: 8.438 kB / 1.229 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.3882, allocations: 261.2 kB / 1.229 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=49): time 4.398e-06/0.3882, allocations: 7.984 kB / 1.229 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.001456/0.3897, allocations: 0.5807 MB / 1.23 GB, free: 256 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3897, allocations: 59.83 kB / 1.23 GB, free: 184 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.3903, allocations: 442.7 kB / 1.231 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.3903, allocations: 37.7 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.3906, allocations: 332.9 kB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3908, allocations: 170.5 kB / 1.231 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.3909, allocations: 102.1 kB / 1.231 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3911, allocations: 362.8 kB / 1.231 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.3916, allocations: 165 kB / 1.232 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.3921, allocations: 249.8 kB / 1.232 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.3929, allocations: 452 kB / 1.232 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.393, allocations: 0 / 1.232 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001141/0.3941, allocations: 0.5666 MB / 1.233 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.3941, allocations: 37.64 kB / 1.233 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3941, allocations: 3.938 kB / 1.233 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3942, allocations: 8 kB / 1.233 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.3947, allocations: 116.1 kB / 1.233 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3947, allocations: 4 kB / 1.233 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.3951, allocations: 59.64 kB / 1.233 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.3951, allocations: 16 kB / 1.233 GB, free: 13 MB / 0.9825 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.0002817/0.3954, allocations: 209.7 kB / 1.233 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.3955, allocations: 63.56 kB / 1.233 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.3956, allocations: 65.58 kB / 1.233 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3956, allocations: 12 kB / 1.233 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3956, allocations: 0 / 1.233 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3956, allocations: 3.984 kB / 1.233 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.3976, allocations: 1.174 MB / 1.235 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3976, allocations: 0 / 1.235 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.3981, allocations: 95.89 kB / 1.235 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3981, allocations: 0 / 1.235 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.3981, allocations: 15.98 kB / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3981, allocations: 8 kB / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3981, allocations: 0 / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.3996, allocations: 0.7654 MB / 1.235 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.3998, allocations: 176.6 kB / 1.236 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.3999, allocations: 8 kB / 1.236 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4002, allocations: 27.97 kB / 1.236 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4003, allocations: 36.39 kB / 1.236 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.4003, allocations: 8 kB / 1.236 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000383/0.4007, allocations: 310.9 kB / 1.236 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4007, allocations: 4 kB / 1.236 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004911/0.4012, allocations: 147.6 kB / 1.236 GB, free: 9.793 MB / 0.9825 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.0001606/0.4013, allocations: 111.2 kB / 1.236 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.4023, allocations: 457.5 kB / 1.237 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4023, allocations: 4 kB / 1.237 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.4028, allocations: 202.4 kB / 1.237 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.4036, allocations: 169.6 kB / 1.237 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.4065, allocations: 1.392 MB / 1.238 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.407, allocations: 0.8937 MB / 1.239 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.4072, allocations: 47.42 kB / 1.239 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of SimCode: time 9.62e-07/0.4072, allocations: 0 / 1.239 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of Templates: time 0.01205/0.4192, allocations: 7.675 MB / 1.247 GB, free: 14.82 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.827809937065467]