Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008319/0.0008319, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007995/0.0007995, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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=5007,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.279e-05, allocations: 9.031 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003456/0.003479, allocations: 3.761 MB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005161, allocations: 1.328 MB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.005441, allocations: 27.81 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.005726, allocations: 138.6 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.005986, allocations: 194.2 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.006632, allocations: 417.3 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007255/0.007357, allocations: 0.9785 MB / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.007755, allocations: 286.6 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.008192, allocations: 0.4989 MB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.008431, allocations: 239.2 kB / 1.009 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.008513, allocations: 92 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.035e-05/0.008583, allocations: 92 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.008683, allocations: 179.4 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.008861, allocations: 251.4 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.009632, allocations: 1.09 MB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.009635, allocations: 0 / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.623e-06/0.009636, allocations: 0 / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.009648, allocations: 0 / 1.01 GB, free: 3.441 MB / 0.9636 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.001352/0.011, allocations: 1.072 MB / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.01104, allocations: 12.75 kB / 1.011 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.01116, allocations: 92.38 kB / 1.011 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.01184, allocations: 0.4991 MB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.01188, allocations: 41.69 kB / 1.012 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.01195, allocations: 60.36 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/0.0127, allocations: 0.6661 MB / 1.013 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.01272, allocations: 192 / 1.013 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.01275, allocations: 20.38 kB / 1.013 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.01277, allocations: 19.94 kB / 1.013 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.01341, allocations: 457 kB / 1.013 GB, free: 420 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.01531, allocations: 1.698 MB / 1.015 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.01591, allocations: 425.7 kB / 1.015 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.01617, allocations: 218.3 kB / 1.015 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.0162, allocations: 4.5 kB / 1.015 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.01654, allocations: 270.2 kB / 1.016 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.01654, allocations: 0 / 1.016 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.0007892/0.01733, allocations: 0.5787 MB / 1.016 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.01737, allocations: 63.84 kB / 1.016 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.01768, allocations: 425.9 kB / 1.017 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.01771, allocations: 45.58 kB / 1.017 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.01788, allocations: 341.5 kB / 1.017 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.01796, allocations: 178.4 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.01806, allocations: 90.34 kB / 1.017 GB, free: 12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01818, allocations: 366.8 kB / 1.018 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.01842, allocations: 190.9 kB / 1.018 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.01868, allocations: 276.4 kB / 1.018 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.01916, allocations: 455.2 kB / 1.018 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01916, allocations: 4 kB / 1.018 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006194/0.01978, allocations: 0.5902 MB / 1.019 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.01982, allocations: 33.7 kB / 1.019 GB, free: 10 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01982, allocations: 0 / 1.019 GB, free: 10 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01983, allocations: 4 kB / 1.019 GB, free: 10 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.0201, allocations: 120.1 kB / 1.019 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.02011, allocations: 11.92 kB / 1.019 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.02026, allocations: 55.7 kB / 1.019 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.02028, allocations: 16 kB / 1.019 GB, free: 9.801 MB / 0.9792 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.0001733/0.02046, allocations: 209.7 kB / 1.019 GB, free: 9.586 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.0205, allocations: 59.62 kB / 1.02 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.02058, allocations: 65.44 kB / 1.02 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02058, allocations: 4 kB / 1.02 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.02059, allocations: 7.938 kB / 1.02 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.02059, allocations: 3.984 kB / 1.02 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.0216, allocations: 0.9922 MB / 1.021 GB, free: 8.418 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.0216, allocations: 3.984 kB / 1.021 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.02186, allocations: 91.89 kB / 1.021 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.02186, allocations: 0 / 1.021 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.02188, allocations: 23.92 kB / 1.021 GB, free: 8.301 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.02189, allocations: 4 kB / 1.021 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02189, allocations: 0 / 1.021 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.02271, allocations: 0.7592 MB / 1.021 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.02283, allocations: 99.52 kB / 1.022 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.02287, allocations: 15.94 kB / 1.022 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.023, allocations: 27.97 kB / 1.022 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.02307, allocations: 36.44 kB / 1.022 GB, free: 7.348 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.02309, allocations: 15.94 kB / 1.022 GB, free: 7.332 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002045/0.02329, allocations: 295.1 kB / 1.022 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02329, allocations: 0 / 1.022 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002685/0.02356, allocations: 143.6 kB / 1.022 GB, free: 6.902 MB / 0.9792 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 9.91e-05/0.02366, allocations: 115.2 kB / 1.022 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005799/0.02424, allocations: 495.2 kB / 1.023 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02424, allocations: 0 / 1.023 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.02448, allocations: 202.8 kB / 1.023 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.02492, allocations: 141.7 kB / 1.023 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.02649, allocations: 1.306 MB / 1.024 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.02666, allocations: 288.7 kB / 1.024 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.02677, allocations: 48.48 kB / 1.025 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of SimCode: time 6.41e-07/0.02677, allocations: 0 / 1.025 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of Templates: time 0.00673/0.0335, allocations: 7.828 MB / 1.032 GB, free: 12.45 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.960562338121235]