Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002514/0.002514, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002875/0.002875, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.627/1.627, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 1.094 kB / 0.8108 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.052e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006601/0.006632, allocations: 3.978 MB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.009862, allocations: 1.346 MB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.0103, allocations: 36.41 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.01069, allocations: 126.7 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.01111, allocations: 194.2 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.01206, allocations: 412.3 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.01331, allocations: 0.98 MB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.01387, allocations: 290.6 kB / 0.8179 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007482/0.01462, allocations: 0.4911 MB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.015, allocations: 243.2 kB / 0.8186 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.01516, allocations: 93.53 kB / 0.8187 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.0153, allocations: 92 kB / 0.8188 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.0155, allocations: 179.4 kB / 0.819 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.01583, allocations: 255.3 kB / 0.8192 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.01719, allocations: 1.091 MB / 0.8203 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.0172, allocations: 0 / 0.8203 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.0172, allocations: 0 / 0.8203 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.01721, allocations: 0.75 kB / 0.8203 GB, free: 8.168 MB / 0.7761 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.002356/0.01957, allocations: 1.273 MB / 0.8215 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01961, allocations: 12.03 kB / 0.8216 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.01984, allocations: 133.3 kB / 0.8217 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.02111, allocations: 0.5362 MB / 0.8222 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.02116, allocations: 45.69 kB / 0.8222 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.02127, allocations: 64.36 kB / 0.8223 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.02256, allocations: 0.6989 MB / 0.823 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.02259, allocations: 4.188 kB / 0.823 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.02265, allocations: 25.16 kB / 0.823 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.02267, allocations: 19.94 kB / 0.823 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.02368, allocations: 426.8 kB / 0.8234 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.02736, allocations: 2.19 MB / 0.8256 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.02832, allocations: 427.1 kB / 0.826 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.02878, allocations: 221.1 kB / 0.8262 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.02883, allocations: 11.94 kB / 0.8262 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/0.02942, allocations: 267.8 kB / 0.8265 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=49): time 2.925e-06/0.02942, allocations: 3.938 kB / 0.8265 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.001418/0.03084, allocations: 0.571 MB / 0.827 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.03092, allocations: 63.84 kB / 0.8271 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.03174, allocations: 0.5931 MB / 0.8277 GB, free: 408 kB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.0318, allocations: 38.33 kB / 0.8277 GB, free: 364 kB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.03226, allocations: 419.6 kB / 0.8281 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.03246, allocations: 187 kB / 0.8283 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.03269, allocations: 129.6 kB / 0.8284 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0006552/0.03334, allocations: 0.5821 MB / 0.829 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.03375, allocations: 186.9 kB / 0.8292 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.03429, allocations: 318.9 kB / 0.8295 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.03519, allocations: 491.2 kB / 0.8299 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.03519, allocations: 3.344 kB / 0.8299 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001202/0.03639, allocations: 0.5903 MB / 0.8305 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.03643, allocations: 29.7 kB / 0.8305 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.03645, allocations: 4.938 kB / 0.8305 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.03647, allocations: 4 kB / 0.8305 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.037, allocations: 116.9 kB / 0.8307 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.03702, allocations: 7.938 kB / 0.8307 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.03733, allocations: 51.67 kB / 0.8307 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.03737, allocations: 17.06 kB / 0.8307 GB, free: 13.13 MB / 0.7917 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.000351/0.03772, allocations: 258.8 kB / 0.831 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.03785, allocations: 75.66 kB / 0.831 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.03801, allocations: 58.7 kB / 0.8311 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.03802, allocations: 11.98 kB / 0.8311 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.03803, allocations: 3.938 kB / 0.8311 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.03804, allocations: 3.984 kB / 0.8311 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.0401, allocations: 1.188 MB / 0.8323 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.04011, allocations: 4 kB / 0.8323 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.04059, allocations: 88.39 kB / 0.8324 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.0406, allocations: 4.812 kB / 0.8324 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.04064, allocations: 15.92 kB / 0.8324 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.04064, allocations: 4 kB / 0.8324 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.04064, allocations: 1.156 kB / 0.8324 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.04212, allocations: 0.8073 MB / 0.8332 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.04232, allocations: 96.12 kB / 0.8333 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.04239, allocations: 11.94 kB / 0.8333 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.04264, allocations: 23.42 kB / 0.8333 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.04276, allocations: 40.42 kB / 0.8333 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.04279, allocations: 8 kB / 0.8334 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004711/0.04326, allocations: 383 kB / 0.8337 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.04326, allocations: 0 / 0.8337 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004846/0.04374, allocations: 147.6 kB / 0.8339 GB, free: 9.863 MB / 0.7917 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.0001611/0.0439, allocations: 114.7 kB / 0.834 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.04492, allocations: 0.5083 MB / 0.8345 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.04493, allocations: 0 / 0.8345 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.04538, allocations: 231.4 kB / 0.8347 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.04619, allocations: 156 kB / 0.8348 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.04912, allocations: 1.255 MB / 0.8361 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.04946, allocations: 288.7 kB / 0.8363 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.04972, allocations: 68.47 kB / 0.8364 GB, free: 7.172 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.04986, allocations: 48.48 kB / 0.8364 GB, free: 7.125 MB / 0.7917 GB Notification: Performance of SimCode: time 7.71e-07/0.04986, allocations: 4 kB / 0.8365 GB, free: 7.121 MB / 0.7917 GB Notification: Performance of Templates: time 0.01354/0.0634, allocations: 5.817 MB / 0.8421 GB, free: 1.445 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.446389762917534]