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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 108 kB / 16.41 MB, free: 6.449 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.717 GB, free: 4.266 MB / 0.5762 GB [Timeout remaining time 87] 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.001996/0.001996, allocations: 63.89 kB / 1.027 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.184, allocations: 151.6 MB / 1.175 GB, free: 17.96 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006069/1.19, allocations: 4.133 MB / 1.179 GB, free: 15 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003411/1.194, allocations: 1.33 MB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/1.195, allocations: 20.78 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006217/1.195, allocations: 128.4 kB / 1.181 GB, free: 13.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/1.196, allocations: 179.5 kB / 1.181 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/1.198, allocations: 421.6 kB / 1.181 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001705/1.2, allocations: 0.9579 MB / 1.182 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009708/1.201, allocations: 465.6 kB / 1.183 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/1.201, allocations: 321.7 kB / 1.183 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007042/1.202, allocations: 340.3 kB / 1.183 GB, free: 12.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003081/1.202, allocations: 95 kB / 1.183 GB, free: 12.4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/1.203, allocations: 90.09 kB / 1.183 GB, free: 12.4 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/1.203, allocations: 178 kB / 1.184 GB, free: 12.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007087/1.204, allocations: 394.8 kB / 1.184 GB, free: 12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/1.205, allocations: 1.06 MB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.205, allocations: 0.5625 kB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.776e-06/1.205, allocations: 0 / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.905e-05/1.205, allocations: 0 / 1.185 GB, free: 11.55 MB / 0.92 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.002419/1.208, allocations: 1.106 MB / 1.186 GB, free: 10.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.208, allocations: 18.09 kB / 1.186 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/1.208, allocations: 85.92 kB / 1.186 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/1.209, allocations: 0.5622 MB / 1.187 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/1.209, allocations: 45.91 kB / 1.187 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.209, allocations: 64.28 kB / 1.187 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.21, allocations: 0.6034 MB / 1.187 GB, free: 9.949 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/1.21, allocations: 6.141 kB / 1.187 GB, free: 9.945 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/1.21, allocations: 25.34 kB / 1.187 GB, free: 9.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/1.21, allocations: 18.22 kB / 1.187 GB, free: 9.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009877/1.211, allocations: 457.9 kB / 1.188 GB, free: 9.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/1.214, allocations: 2.001 MB / 1.19 GB, free: 8.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/1.215, allocations: 442.1 kB / 1.19 GB, free: 8.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/1.216, allocations: 237.5 kB / 1.19 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/1.216, allocations: 5.703 kB / 1.19 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/1.217, allocations: 268.9 kB / 1.191 GB, free: 8.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/1.217, allocations: 0 / 1.191 GB, free: 8.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.001415/1.218, allocations: 0.5826 MB / 1.191 GB, free: 7.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.218, allocations: 58.36 kB / 1.191 GB, free: 7.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/1.219, allocations: 449.5 kB / 1.192 GB, free: 7.578 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/1.219, allocations: 37.02 kB / 1.192 GB, free: 7.539 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/1.219, allocations: 326.1 kB / 1.192 GB, free: 7.277 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/1.219, allocations: 178.2 kB / 1.192 GB, free: 7.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.219, allocations: 90.92 kB / 1.192 GB, free: 7.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.219, allocations: 365 kB / 1.193 GB, free: 6.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/1.22, allocations: 166.4 kB / 1.193 GB, free: 6.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/1.22, allocations: 255.2 kB / 1.193 GB, free: 6.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/1.221, allocations: 451.5 kB / 1.194 GB, free: 6.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.221, allocations: 5 kB / 1.194 GB, free: 6.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001073/1.222, allocations: 0.5592 MB / 1.194 GB, free: 5.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.222, allocations: 39.08 kB / 1.194 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.222, allocations: 2.188 kB / 1.194 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.222, allocations: 4.594 kB / 1.194 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/1.223, allocations: 121.2 kB / 1.194 GB, free: 5.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.223, allocations: 8.859 kB / 1.194 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.223, allocations: 58.89 kB / 1.194 GB, free: 5.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.223, allocations: 21.47 kB / 1.194 GB, free: 5.793 MB / 0.92 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.0002612/1.223, allocations: 210.1 kB / 1.195 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/1.223, allocations: 61.53 kB / 1.195 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/1.224, allocations: 67 kB / 1.195 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.224, allocations: 5.156 kB / 1.195 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.224, allocations: 0 / 1.195 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.224, allocations: 5.484 kB / 1.195 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/1.226, allocations: 1.174 MB / 1.196 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.226, allocations: 7.938 kB / 1.196 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/1.226, allocations: 95.94 kB / 1.196 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/1.226, allocations: 2.219 kB / 1.196 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/1.226, allocations: 6.188 kB / 1.196 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.226, allocations: 2.156 kB / 1.196 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.226, allocations: 5.062 kB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/1.228, allocations: 0.7629 MB / 1.197 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/1.228, allocations: 172.1 kB / 1.197 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/1.228, allocations: 18.28 kB / 1.197 GB, free: 3.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/1.228, allocations: 18.55 kB / 1.197 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.228, allocations: 37.2 kB / 1.197 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/1.228, allocations: 16.42 kB / 1.197 GB, free: 3.949 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003837/1.229, allocations: 316.5 kB / 1.197 GB, free: 3.754 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.229, allocations: 0 / 1.197 GB, free: 3.754 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005257/1.229, allocations: 144.9 kB / 1.197 GB, free: 3.711 MB / 0.92 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.0001429/1.229, allocations: 116.6 kB / 1.197 GB, free: 3.605 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.23, allocations: 489.6 kB / 1.198 GB, free: 3.348 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.23, allocations: 0 / 1.198 GB, free: 3.348 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/1.231, allocations: 215.2 kB / 1.198 GB, free: 3.254 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/1.232, allocations: 153.3 kB / 1.198 GB, free: 3.176 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/1.235, allocations: 1.355 MB / 1.2 GB, free: 2.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/1.235, allocations: 0.889 MB / 1.2 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003443/1.235, allocations: 64.86 kB / 1.201 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.236, allocations: 42.78 kB / 1.201 GB, free: 1.449 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/1.236, allocations: 0 / 1.201 GB, free: 1.449 MB / 0.92 GB Notification: Performance of Templates: time 0.01672/1.252, allocations: 6.01 MB / 1.206 GB, free: 14.54 MB / 0.9356 GB [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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