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.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.002363/0.002363, allocations: 83.75 kB / 20.23 MB, free: 4.18 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.002767/0.002767, allocations: 157.8 kB / 23.54 MB, free: 0.875 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.877/2.877, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.613e-06/1.613e-06, allocations: 0 / 0.7863 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.173e-05, allocations: 6.969 kB / 0.7863 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006529/0.006561, allocations: 3.966 MB / 0.7902 GB, free: 7.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.009474, allocations: 1.342 MB / 0.7915 GB, free: 6.391 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.009843, allocations: 31.75 kB / 0.7916 GB, free: 6.359 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.0102, allocations: 127.8 kB / 0.7917 GB, free: 6.234 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.0106, allocations: 193.3 kB / 0.7919 GB, free: 6.047 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.0115, allocations: 416.8 kB / 0.7923 GB, free: 5.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.01262, allocations: 0.9785 MB / 0.7932 GB, free: 4.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.01315, allocations: 290.6 kB / 0.7935 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.01383, allocations: 0.4928 MB / 0.794 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.0142, allocations: 247.2 kB / 0.7942 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.01433, allocations: 92 kB / 0.7943 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.01447, allocations: 92 kB / 0.7944 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.01465, allocations: 177.9 kB / 0.7946 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.01495, allocations: 251.3 kB / 0.7948 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.01618, allocations: 1.086 MB / 0.7959 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01618, allocations: 0 / 0.7959 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01619, allocations: 0 / 0.7959 GB, free: 1.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.0162, allocations: 0 / 0.7959 GB, free: 1.934 MB / 0.698 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.002194/0.01839, allocations: 1.289 MB / 0.7971 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01843, allocations: 8.031 kB / 0.7971 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.01867, allocations: 132.4 kB / 0.7973 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.01972, allocations: 0.5366 MB / 0.7978 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.01977, allocations: 37.69 kB / 0.7978 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.01987, allocations: 68.33 kB / 0.7979 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.0211, allocations: 0.6964 MB / 0.7986 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.02113, allocations: 192 / 0.7986 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.02122, allocations: 32.36 kB / 0.7986 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.02124, allocations: 19.94 kB / 0.7986 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.02266, allocations: 429.5 kB / 0.799 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005178/0.02784, allocations: 2.198 MB / 0.8012 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.02885, allocations: 434.7 kB / 0.8016 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.02929, allocations: 218.3 kB / 0.8018 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.02934, allocations: 8.5 kB / 0.8018 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005686/0.02991, allocations: 264.8 kB / 0.802 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.02991, allocations: 0.8438 kB / 0.8021 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.001364/0.03127, allocations: 0.5839 MB / 0.8026 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.03134, allocations: 67.78 kB / 0.8027 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.03211, allocations: 0.5963 MB / 0.8033 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.03215, allocations: 34.2 kB / 0.8033 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.03256, allocations: 421 kB / 0.8037 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.03275, allocations: 190.5 kB / 0.8039 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.03296, allocations: 125.7 kB / 0.804 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004797/0.03344, allocations: 0.5821 MB / 0.8046 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.03387, allocations: 179 kB / 0.8047 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.03441, allocations: 318.7 kB / 0.805 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.03528, allocations: 488.2 kB / 0.8055 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.03528, allocations: 0 / 0.8055 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001187/0.03647, allocations: 0.5999 MB / 0.8061 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.03651, allocations: 30.52 kB / 0.8061 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.03652, allocations: 4 kB / 0.8061 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.03654, allocations: 5.344 kB / 0.8061 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.03705, allocations: 115.8 kB / 0.8062 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.03706, allocations: 11.92 kB / 0.8063 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.0374, allocations: 48.44 kB / 0.8063 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.03744, allocations: 20.66 kB / 0.8063 GB, free: 6.848 MB / 0.7136 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.0003332/0.03777, allocations: 263.2 kB / 0.8066 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.03789, allocations: 67.62 kB / 0.8066 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.03806, allocations: 73.42 kB / 0.8067 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.03807, allocations: 4 kB / 0.8067 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.03808, allocations: 3.938 kB / 0.8067 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.03809, allocations: 3.984 kB / 0.8067 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.04013, allocations: 1.178 MB / 0.8079 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.04013, allocations: 0 / 0.8079 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.04063, allocations: 87.89 kB / 0.808 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.04063, allocations: 4 kB / 0.808 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.04068, allocations: 15.94 kB / 0.808 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.04068, allocations: 0.9375 kB / 0.808 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.04068, allocations: 0 / 0.808 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.04211, allocations: 0.8115 MB / 0.8088 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.04233, allocations: 100.5 kB / 0.8089 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.04241, allocations: 20 kB / 0.8089 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.04267, allocations: 21.02 kB / 0.8089 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.04278, allocations: 40.42 kB / 0.8089 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.04282, allocations: 16 kB / 0.809 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004983/0.04332, allocations: 371.6 kB / 0.8093 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.04332, allocations: 4 kB / 0.8093 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005619/0.04388, allocations: 144.1 kB / 0.8095 GB, free: 3.59 MB / 0.7136 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.0002285/0.04411, allocations: 115.4 kB / 0.8096 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.04533, allocations: 0.5081 MB / 0.8101 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.04534, allocations: 4 kB / 0.8101 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.04584, allocations: 219.5 kB / 0.8103 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.04681, allocations: 154.5 kB / 0.8104 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.05039, allocations: 1.258 MB / 0.8116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.05087, allocations: 300.3 kB / 0.8119 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000352/0.05122, allocations: 60.53 kB / 0.812 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.05138, allocations: 40.5 kB / 0.812 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/0.05138, allocations: 0 / 0.812 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of Templates: time 0.01413/0.06551, allocations: 5.803 MB / 0.8177 GB, free: 11.2 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.30004405498039]