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.001358/0.001358, allocations: 79.73 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001526/0.001526, allocations: 156.8 kB / 23.01 MB, free: 4.941 MB / 14.72 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 63.89 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004638/1.029, allocations: 3.761 MB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002467/1.031, allocations: 1.331 MB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004956/1.032, allocations: 29.16 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003711/1.032, allocations: 130.2 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003611/1.032, allocations: 182 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008303/1.033, allocations: 415.2 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007918/1.034, allocations: 0.9474 MB / 1.16 GB, free: 28.81 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/1.034, allocations: 289.8 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/1.035, allocations: 348.3 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/1.035, allocations: 297.1 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.926e-05/1.035, allocations: 98.53 kB / 1.161 GB, free: 28.28 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/1.035, allocations: 91.47 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/1.035, allocations: 171.3 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/1.036, allocations: 308.6 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008012/1.036, allocations: 1.075 MB / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.036, allocations: 0 / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/1.036, allocations: 0 / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.036, allocations: 0 / 1.163 GB, free: 27.51 MB / 1.076 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.001664/1.038, allocations: 1.081 MB / 1.164 GB, free: 26.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.038, allocations: 11.55 kB / 1.164 GB, free: 26.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/1.038, allocations: 86.52 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/1.039, allocations: 0.5074 MB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/1.039, allocations: 45.22 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/1.039, allocations: 59.59 kB / 1.165 GB, free: 26.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/1.04, allocations: 0.6584 MB / 1.165 GB, free: 25.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.04, allocations: 0 / 1.165 GB, free: 25.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/1.04, allocations: 25.59 kB / 1.165 GB, free: 25.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/1.04, allocations: 14 kB / 1.166 GB, free: 25.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/1.041, allocations: 460 kB / 1.166 GB, free: 25.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/1.044, allocations: 1.694 MB / 1.168 GB, free: 24.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/1.044, allocations: 432.5 kB / 1.168 GB, free: 24.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/1.045, allocations: 231.3 kB / 1.168 GB, free: 24.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/1.045, allocations: 5.75 kB / 1.168 GB, free: 24.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005092/1.045, allocations: 258.3 kB / 1.168 GB, free: 24.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/1.045, allocations: 3.938 kB / 1.168 GB, free: 24.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.001214/1.047, allocations: 0.5933 MB / 1.169 GB, free: 24.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.047, allocations: 57.34 kB / 1.169 GB, free: 23.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/1.047, allocations: 428.2 kB / 1.17 GB, free: 23.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.047, allocations: 36.36 kB / 1.17 GB, free: 23.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/1.047, allocations: 334.1 kB / 1.17 GB, free: 23.47 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/1.047, allocations: 174.2 kB / 1.17 GB, free: 23.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.047, allocations: 97.8 kB / 1.17 GB, free: 23.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/1.048, allocations: 368.2 kB / 1.17 GB, free: 22.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/1.048, allocations: 192.6 kB / 1.171 GB, free: 22.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/1.048, allocations: 282.9 kB / 1.171 GB, free: 22.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/1.049, allocations: 453.8 kB / 1.171 GB, free: 22.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.049, allocations: 0 / 1.171 GB, free: 22.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009961/1.05, allocations: 0.5845 MB / 1.172 GB, free: 22.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/1.05, allocations: 35.8 kB / 1.172 GB, free: 22.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.05, allocations: 6.406 kB / 1.172 GB, free: 22.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.05, allocations: 12.62 kB / 1.172 GB, free: 22.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/1.051, allocations: 110.1 kB / 1.172 GB, free: 22.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/1.051, allocations: 8.344 kB / 1.172 GB, free: 22.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/1.051, allocations: 57.17 kB / 1.172 GB, free: 22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/1.051, allocations: 21.39 kB / 1.172 GB, free: 22 MB / 1.076 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.0002736/1.051, allocations: 210.9 kB / 1.172 GB, free: 21.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/1.051, allocations: 53.23 kB / 1.172 GB, free: 21.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/1.052, allocations: 68.91 kB / 1.173 GB, free: 21.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.052, allocations: 4.906 kB / 1.173 GB, free: 21.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.052, allocations: 0.5938 kB / 1.173 GB, free: 21.74 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/1.052, allocations: 3.875 kB / 1.173 GB, free: 21.74 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.053, allocations: 0.9953 MB / 1.173 GB, free: 21.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.053, allocations: 5.281 kB / 1.173 GB, free: 21.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/1.054, allocations: 98.92 kB / 1.174 GB, free: 21.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.054, allocations: 2.812 kB / 1.174 GB, free: 21.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/1.054, allocations: 14.12 kB / 1.174 GB, free: 21.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.054, allocations: 1.406 kB / 1.174 GB, free: 21.15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.054, allocations: 0 / 1.174 GB, free: 21.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.055, allocations: 0.77 MB / 1.174 GB, free: 20.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/1.055, allocations: 96.17 kB / 1.174 GB, free: 20.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/1.056, allocations: 14.2 kB / 1.174 GB, free: 20.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/1.056, allocations: 25.47 kB / 1.174 GB, free: 20.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/1.056, allocations: 33.67 kB / 1.175 GB, free: 20.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/1.056, allocations: 12.97 kB / 1.175 GB, free: 20.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003396/1.056, allocations: 296.2 kB / 1.175 GB, free: 20.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0 / 1.175 GB, free: 20.51 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005986/1.057, allocations: 148.9 kB / 1.175 GB, free: 20.46 MB / 1.076 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.0001235/1.057, allocations: 109.5 kB / 1.175 GB, free: 20.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009859/1.058, allocations: 491.7 kB / 1.176 GB, free: 20.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.058, allocations: 5.219 kB / 1.176 GB, free: 20.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/1.058, allocations: 206.4 kB / 1.176 GB, free: 20.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/1.059, allocations: 148.8 kB / 1.176 GB, free: 20.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/1.062, allocations: 1.348 MB / 1.177 GB, free: 19.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/1.062, allocations: 300.8 kB / 1.177 GB, free: 19.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002772/1.062, allocations: 58.06 kB / 1.178 GB, free: 19.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/1.062, allocations: 42.31 kB / 1.178 GB, free: 19.08 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/1.062, allocations: 4 kB / 1.178 GB, free: 19.07 MB / 1.076 GB Notification: Performance of Templates: time 0.01457/1.077, allocations: 5.822 MB / 1.183 GB, free: 18.35 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.227245897985995]