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.001923/0.001923, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002299/0.002299, allocations: 161.6 kB / 23.55 MB, free: 0.8945 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.734/1.734, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.786/2.786, allocations: 359 MB / 0.6048 GB, free: 10.96 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.803e-06/1.803e-06, allocations: 0 / 0.7863 GB, free: 11.77 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.004e-05, allocations: 2.312 kB / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006308/0.006338, allocations: 3.767 MB / 0.79 GB, free: 7.996 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.009574, allocations: 1.335 MB / 0.7913 GB, free: 6.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006942/0.01027, allocations: 27.81 kB / 0.7913 GB, free: 6.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.0108, allocations: 134.6 kB / 0.7915 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007467/0.01155, allocations: 190.5 kB / 0.7917 GB, free: 6.316 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.01271, allocations: 415.8 kB / 0.792 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.01418, allocations: 0.976 MB / 0.793 GB, free: 4.934 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.01483, allocations: 282.6 kB / 0.7933 GB, free: 4.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/0.01578, allocations: 0.4989 MB / 0.7938 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.01626, allocations: 244.7 kB / 0.794 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.01646, allocations: 92 kB / 0.7941 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.01666, allocations: 92 kB / 0.7942 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.01688, allocations: 175.4 kB / 0.7943 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.01725, allocations: 260.9 kB / 0.7946 GB, free: 3.293 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.01858, allocations: 1.086 MB / 0.7956 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01858, allocations: 0 / 0.7956 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01858, allocations: 0 / 0.7956 GB, free: 2.203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.811e-05/0.01862, allocations: 0 / 0.7956 GB, free: 2.203 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.002471/0.02109, allocations: 1.071 MB / 0.7967 GB, free: 1.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.02113, allocations: 12.03 kB / 0.7967 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.02142, allocations: 132.4 kB / 0.7968 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.02253, allocations: 0.5334 MB / 0.7973 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.02258, allocations: 41.69 kB / 0.7974 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.02269, allocations: 65.67 kB / 0.7974 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.02397, allocations: 0.6544 MB / 0.7981 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.024, allocations: 13.22 kB / 0.7981 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.02407, allocations: 28.12 kB / 0.7981 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.02408, allocations: 16 kB / 0.7981 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.02516, allocations: 454.7 kB / 0.7986 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.0282, allocations: 1.715 MB / 0.8003 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.02932, allocations: 431.2 kB / 0.8007 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.02983, allocations: 222.8 kB / 0.8009 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.02987, allocations: 13.05 kB / 0.8009 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.03048, allocations: 263 kB / 0.8011 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/0.03048, allocations: 0.5625 kB / 0.8011 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.001501/0.03199, allocations: 0.5922 MB / 0.8017 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.03204, allocations: 64.73 kB / 0.8018 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.0326, allocations: 438.5 kB / 0.8022 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.03265, allocations: 37.48 kB / 0.8022 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.03296, allocations: 328.9 kB / 0.8025 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.03313, allocations: 178.4 kB / 0.8027 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.0333, allocations: 94.33 kB / 0.8028 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.03352, allocations: 366.7 kB / 0.8032 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.03398, allocations: 190.9 kB / 0.8033 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.03451, allocations: 280.4 kB / 0.8036 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.03544, allocations: 447.6 kB / 0.804 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.03544, allocations: 0 / 0.804 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001254/0.0367, allocations: 0.6164 MB / 0.8046 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.03675, allocations: 37.95 kB / 0.8047 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.03676, allocations: 0 / 0.8047 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.03679, allocations: 4 kB / 0.8047 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.03732, allocations: 119.8 kB / 0.8048 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.03734, allocations: 11.97 kB / 0.8048 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.03768, allocations: 51.66 kB / 0.8048 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.03773, allocations: 20 kB / 0.8049 GB, free: 8.457 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.0002919/0.03802, allocations: 209.7 kB / 0.8051 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.03814, allocations: 75.67 kB / 0.8051 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.03828, allocations: 57.45 kB / 0.8052 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.03829, allocations: 7.984 kB / 0.8052 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.0383, allocations: 3.938 kB / 0.8052 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.0383, allocations: 4 kB / 0.8052 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.04024, allocations: 1.012 MB / 0.8062 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.04024, allocations: 4 kB / 0.8062 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/0.04077, allocations: 87.89 kB / 0.8063 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.04078, allocations: 7.984 kB / 0.8063 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.04082, allocations: 11.94 kB / 0.8063 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.04082, allocations: 4 kB / 0.8063 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.04082, allocations: 0 / 0.8063 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.04244, allocations: 0.7787 MB / 0.8071 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.04265, allocations: 95.56 kB / 0.8072 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.04272, allocations: 11.94 kB / 0.8072 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.04302, allocations: 23.97 kB / 0.8072 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.04313, allocations: 36.44 kB / 0.8072 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.04316, allocations: 15.98 kB / 0.8072 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004631/0.04362, allocations: 299.1 kB / 0.8075 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.04362, allocations: 0 / 0.8075 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004805/0.0441, allocations: 139.6 kB / 0.8077 GB, free: 5.531 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.0001557/0.04426, allocations: 122.5 kB / 0.8078 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.04534, allocations: 495.2 kB / 0.8083 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.04534, allocations: 0.5 kB / 0.8083 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.04585, allocations: 214.7 kB / 0.8085 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.04665, allocations: 142.8 kB / 0.8086 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.04958, allocations: 1.272 MB / 0.8098 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.04992, allocations: 300.6 kB / 0.8101 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.05019, allocations: 60.53 kB / 0.8102 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.05033, allocations: 36.5 kB / 0.8102 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.05033, allocations: 4 kB / 0.8102 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.01369/0.06401, allocations: 5.796 MB / 0.8159 GB, free: 13.19 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=400 -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/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.409116124967113]