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.001273/0.001273, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001368/0.001368, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.001999/0.001999, allocations: 68.19 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2959, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005499/0.3014, allocations: 3.766 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3038, allocations: 1.328 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.3041, allocations: 27.81 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.3045, allocations: 130.7 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.3049, allocations: 182.4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.3057, allocations: 416.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3068, allocations: 0.9592 MB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.3073, allocations: 310.6 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.3077, allocations: 342.7 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.308, allocations: 338.4 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.3082, allocations: 92 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3083, allocations: 92 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3084, allocations: 179.4 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.3087, allocations: 306.5 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3099, allocations: 1.07 MB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3099, allocations: 0 / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3099, allocations: 0 / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3099, allocations: 4 kB / 1.336 GB, free: 7.504 MB / 1.029 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.001964/0.3118, allocations: 1.084 MB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3119, allocations: 8.031 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.312, allocations: 88.42 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.313, allocations: 0.5038 MB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.3131, allocations: 45.69 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3132, allocations: 56.38 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.3144, allocations: 0.6658 MB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3144, allocations: 0 / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.3145, allocations: 28 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3145, allocations: 12 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3155, allocations: 461 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.3184, allocations: 1.698 MB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.3193, allocations: 425.2 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.3198, allocations: 230.6 kB / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.3198, allocations: 8.375 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/0.3204, allocations: 253.4 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.464e-06/0.3204, allocations: 0 / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001386/0.3218, allocations: 0.5924 MB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.3218, allocations: 55.84 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.3223, allocations: 438.4 kB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.3224, allocations: 37.7 kB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.3227, allocations: 340.8 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3228, allocations: 170.5 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.323, allocations: 98.28 kB / 1.343 GB, free: 32 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3232, allocations: 358.8 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.3236, allocations: 194.9 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.3241, allocations: 284.4 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.325, allocations: 450.9 kB / 1.345 GB, free: 14.69 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.325, allocations: 0 / 1.345 GB, free: 14.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001143/0.3261, allocations: 0.5903 MB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.3261, allocations: 33.95 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3262, allocations: 11.92 kB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3262, allocations: 4 kB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.3267, allocations: 111.8 kB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3267, allocations: 11.98 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.327, allocations: 55.61 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3271, allocations: 20 kB / 1.345 GB, free: 13.83 MB / 1.045 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.000265/0.3273, allocations: 215 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.3274, allocations: 51.67 kB / 1.346 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.3276, allocations: 65.39 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3276, allocations: 8 kB / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3276, allocations: 0 / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3276, allocations: 3.984 kB / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3293, allocations: 0.9944 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3293, allocations: 11.94 kB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.3298, allocations: 91.89 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3298, allocations: 0 / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.3299, allocations: 15.98 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3299, allocations: 4 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3299, allocations: 0 / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.3313, allocations: 0.7652 MB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.3315, allocations: 99.5 kB / 1.348 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.3316, allocations: 8 kB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.3319, allocations: 23.97 kB / 1.348 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.332, allocations: 36.38 kB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.332, allocations: 15.98 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003538/0.3324, allocations: 299.1 kB / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3324, allocations: 0 / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004475/0.3328, allocations: 139.6 kB / 1.348 GB, free: 10.95 MB / 1.045 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.0001363/0.333, allocations: 115.2 kB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.334, allocations: 490.2 kB / 1.349 GB, free: 10.33 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.334, allocations: 4.5 kB / 1.349 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.3344, allocations: 206.4 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.3352, allocations: 148.9 kB / 1.349 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.338, allocations: 1.355 MB / 1.35 GB, free: 8.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3383, allocations: 288.7 kB / 1.351 GB, free: 8.281 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.3385, allocations: 68.53 kB / 1.351 GB, free: 8.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3387, allocations: 39.42 kB / 1.351 GB, free: 8.172 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.3387, allocations: 0 / 1.351 GB, free: 8.172 MB / 1.045 GB Notification: Performance of Templates: time 0.01321/0.3519, allocations: 6.689 MB / 1.357 GB, free: 1.637 MB / 1.045 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=400 -s gbode -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.346826449007494]