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.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.001386/0.001386, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001516/0.001516, allocations: 193.5 kB / 22.17 MB, free: 5.656 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.468/1.468, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 168.7 MB / 1.274 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00688/1.099, allocations: 4.184 MB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003273/1.102, allocations: 1.332 MB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005848/1.102, allocations: 23.88 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004386/1.103, allocations: 126.7 kB / 1.28 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004484/1.103, allocations: 182.4 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/1.104, allocations: 434.9 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001344/1.106, allocations: 0.9554 MB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006726/1.106, allocations: 312.9 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/1.107, allocations: 330.7 kB / 1.282 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/1.108, allocations: 334.4 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/1.108, allocations: 92 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/1.108, allocations: 92 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/1.108, allocations: 183.3 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/1.108, allocations: 394.1 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/1.11, allocations: 1.066 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.11, allocations: 0 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.355e-06/1.11, allocations: 0 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.11, allocations: 4 kB / 1.284 GB, free: 10.56 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.002465/1.112, allocations: 1.147 MB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/1.112, allocations: 11.97 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/1.113, allocations: 96.38 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.114, allocations: 0.5616 MB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/1.114, allocations: 45.69 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/1.114, allocations: 60.33 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/1.115, allocations: 0.6078 MB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.115, allocations: 4 kB / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/1.115, allocations: 28 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.115, allocations: 12 kB / 1.286 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/1.117, allocations: 457 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/1.12, allocations: 2.005 MB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/1.121, allocations: 421 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/1.122, allocations: 226.6 kB / 1.289 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/1.122, allocations: 4.438 kB / 1.289 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006313/1.122, allocations: 257.3 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=49): time 3.486e-06/1.122, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.001512/1.124, allocations: 0.5931 MB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/1.124, allocations: 55.84 kB / 1.29 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/1.125, allocations: 446 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/1.125, allocations: 37.64 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/1.125, allocations: 332.9 kB / 1.291 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/1.125, allocations: 170.5 kB / 1.291 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.125, allocations: 98.19 kB / 1.291 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002611/1.126, allocations: 362.8 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/1.126, allocations: 165 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/1.126, allocations: 249.8 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/1.127, allocations: 452 kB / 1.292 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.127, allocations: 0 / 1.292 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00133/1.129, allocations: 0.5705 MB / 1.293 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/1.129, allocations: 33.64 kB / 1.293 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.129, allocations: 4 kB / 1.293 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/1.129, allocations: 4 kB / 1.293 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/1.129, allocations: 120 kB / 1.293 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.129, allocations: 4 kB / 1.293 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/1.13, allocations: 59.64 kB / 1.293 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/1.13, allocations: 24 kB / 1.293 GB, free: 0.5781 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 (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.0003286/1.13, allocations: 205.7 kB / 1.293 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.13, allocations: 59.56 kB / 1.293 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/1.13, allocations: 65.58 kB / 1.293 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.13, allocations: 8 kB / 1.293 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.13, allocations: 0 / 1.293 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.13, allocations: 3.984 kB / 1.293 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.133, allocations: 1.178 MB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.133, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/1.133, allocations: 95.89 kB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/1.133, allocations: 4 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/1.133, allocations: 11.98 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.133, allocations: 4 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.133, allocations: 0 / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/1.135, allocations: 0.7654 MB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/1.135, allocations: 168.7 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/1.135, allocations: 12 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/1.135, allocations: 27.97 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.135, allocations: 32.39 kB / 1.296 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/1.136, allocations: 12 kB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004726/1.136, allocations: 310.9 kB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.136, allocations: 0 / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005219/1.137, allocations: 151.6 kB / 1.296 GB, free: 13.39 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.0002078/1.137, allocations: 115.1 kB / 1.296 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.138, allocations: 461.5 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.138, allocations: 7.938 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/1.138, allocations: 206.4 kB / 1.297 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/1.139, allocations: 164.1 kB / 1.297 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/1.142, allocations: 1.351 MB / 1.298 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/1.143, allocations: 0.8899 MB / 1.299 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002795/1.143, allocations: 64.58 kB / 1.299 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.143, allocations: 51.36 kB / 1.299 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/1.143, allocations: 0 / 1.299 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of Templates: time 0.01368/1.157, allocations: 6.149 MB / 1.305 GB, free: 3.961 MB / 0.9981 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 -s cvode -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_2/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: 9.642984706442803]