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.0008358/0.0008358, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008204/0.0008204, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8818/0.8818, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.627/1.627, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.573e-06/1.573e-06, allocations: 0 / 0.9517 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.419e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003509/0.003533, allocations: 3.78 MB / 0.9554 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.005441, allocations: 1.328 MB / 0.9567 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.005698, allocations: 27.81 kB / 0.9567 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.005954, allocations: 130.6 kB / 0.9568 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.006184, allocations: 194.2 kB / 0.957 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.006747, allocations: 414.2 kB / 0.9574 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.007354, allocations: 0.9785 MB / 0.9584 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.00771, allocations: 290.6 kB / 0.9586 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.008075, allocations: 498.9 kB / 0.9591 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.008278, allocations: 243.2 kB / 0.9593 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.008349, allocations: 92 kB / 0.9594 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.008414, allocations: 92 kB / 0.9595 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.008503, allocations: 179.4 kB / 0.9597 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.008669, allocations: 251.3 kB / 0.9599 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.009372, allocations: 1.094 MB / 0.961 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.009374, allocations: 4 kB / 0.961 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.009375, allocations: 0 / 0.961 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.009384, allocations: 0 / 0.961 GB, free: 8.305 MB / 0.8698 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.001157/0.01054, allocations: 1.064 MB / 0.962 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.01058, allocations: 12.03 kB / 0.9621 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.01067, allocations: 84.42 kB / 0.9621 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.01125, allocations: 0.5108 MB / 0.9626 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.01128, allocations: 45.69 kB / 0.9627 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.01134, allocations: 52.38 kB / 0.9627 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.01227, allocations: 0.6622 MB / 0.9634 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.01229, allocations: 8.141 kB / 0.9634 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.01233, allocations: 24.38 kB / 0.9634 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.01234, allocations: 23.92 kB / 0.9634 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.01292, allocations: 453 kB / 0.9639 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.0146, allocations: 1.69 MB / 0.9655 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.01515, allocations: 432.1 kB / 0.9659 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.01541, allocations: 230.2 kB / 0.9661 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.01544, allocations: 4.5 kB / 0.9661 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.01577, allocations: 266.1 kB / 0.9664 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/0.01577, allocations: 0 / 0.9664 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.0007744/0.01655, allocations: 0.5788 MB / 0.967 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.01659, allocations: 67.84 kB / 0.967 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.01689, allocations: 421.9 kB / 0.9674 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.01691, allocations: 41.64 kB / 0.9675 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.01708, allocations: 337.5 kB / 0.9678 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.01716, allocations: 170.5 kB / 0.968 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01726, allocations: 102.3 kB / 0.9681 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.01736, allocations: 362.8 kB / 0.9684 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.0176, allocations: 194.9 kB / 0.9686 GB, free: 320 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.01786, allocations: 280.4 kB / 0.9689 GB, free: 4 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.01835, allocations: 447.2 kB / 0.9693 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01836, allocations: 4 kB / 0.9693 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006203/0.01898, allocations: 0.5902 MB / 0.9699 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.01901, allocations: 37.7 kB / 0.9699 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01901, allocations: 3.984 kB / 0.9699 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01903, allocations: 4 kB / 0.9699 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.01956, allocations: 115.8 kB / 0.97 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01957, allocations: 7.938 kB / 0.97 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01972, allocations: 55.97 kB / 0.9701 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.01974, allocations: 19.98 kB / 0.9701 GB, free: 14.67 MB / 0.8855 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.0001685/0.01991, allocations: 211.2 kB / 0.9703 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.01995, allocations: 55.67 kB / 0.9704 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.02003, allocations: 65.44 kB / 0.9704 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02003, allocations: 7.938 kB / 0.9704 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.02003, allocations: 3.938 kB / 0.9704 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02004, allocations: 0 / 0.9704 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.02105, allocations: 1.008 MB / 0.9714 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02105, allocations: 0 / 0.9714 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.02129, allocations: 95.88 kB / 0.9715 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.0213, allocations: 0 / 0.9715 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.02132, allocations: 11.94 kB / 0.9715 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.02132, allocations: 4 kB / 0.9715 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02132, allocations: 7.984 kB / 0.9715 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.02211, allocations: 0.7592 MB / 0.9723 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.02222, allocations: 91.56 kB / 0.9724 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.02226, allocations: 15.94 kB / 0.9724 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.02239, allocations: 27.97 kB / 0.9724 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.02246, allocations: 36.44 kB / 0.9724 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.02248, allocations: 15.98 kB / 0.9724 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002071/0.02269, allocations: 299.1 kB / 0.9727 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.02269, allocations: 0 / 0.9727 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000269/0.02295, allocations: 143.6 kB / 0.9729 GB, free: 11.77 MB / 0.8855 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.0001039/0.02306, allocations: 114.2 kB / 0.973 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.02364, allocations: 495.2 kB / 0.9734 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02364, allocations: 0 / 0.9734 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.02387, allocations: 202.8 kB / 0.9736 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.0243, allocations: 145.6 kB / 0.9738 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.02585, allocations: 1.29 MB / 0.975 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.02603, allocations: 292.7 kB / 0.9753 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.02613, allocations: 44.5 kB / 0.9754 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of SimCode: time 9.72e-07/0.02613, allocations: 0 / 0.9754 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of Templates: time 0.006889/0.03302, allocations: 7.823 MB / 0.983 GB, free: 1.352 MB / 0.8855 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: 6.7189368205145]