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.001222/0.001222, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001197/0.001197, allocations: 165 kB / 23.82 MB, free: 0.7461 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.084/1.084, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.822/1.822, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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 2.144e-06/2.144e-06, allocations: 0 / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.254e-05, allocations: 9.547 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005825/0.005857, allocations: 4.042 MB / 0.791 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.008992, allocations: 1.35 MB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008427/0.009835, allocations: 27.81 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.01023, allocations: 126.7 kB / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.01059, allocations: 194.2 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.01179, allocations: 416.4 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007771/0.01257, allocations: 0.9785 MB / 0.794 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.01298, allocations: 289.8 kB / 0.7943 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.0134, allocations: 0.4911 MB / 0.7947 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.01365, allocations: 247.2 kB / 0.795 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.01374, allocations: 92 kB / 0.7951 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.01381, allocations: 88 kB / 0.7952 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.01392, allocations: 179.4 kB / 0.7953 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.0141, allocations: 255.3 kB / 0.7956 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.01464, allocations: 0.5798 MB / 0.7961 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.01465, allocations: 0.7188 kB / 0.7961 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.826e-06/0.01465, allocations: 3.984 kB / 0.7961 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.01466, allocations: 1.656 kB / 0.7961 GB, free: 3.195 MB / 0.7448 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.001202/0.01586, allocations: 1.152 MB / 0.7973 GB, free: 2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.0159, allocations: 8.031 kB / 0.7973 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.01605, allocations: 136.4 kB / 0.7974 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.0167, allocations: 0.5447 MB / 0.7979 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.01674, allocations: 41.69 kB / 0.798 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.01682, allocations: 60.91 kB / 0.798 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.01745, allocations: 0.523 MB / 0.7985 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.01747, allocations: 0.7188 kB / 0.7985 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.01751, allocations: 25.53 kB / 0.7986 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.01753, allocations: 19.94 kB / 0.7986 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.01789, allocations: 224.1 kB / 0.7988 GB, free: 364 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01994, allocations: 1.799 MB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.02034, allocations: 280.5 kB / 0.8008 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.02051, allocations: 121.1 kB / 0.8009 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.02054, allocations: 13.83 kB / 0.801 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.02081, allocations: 183.9 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=49): time 4.338e-06/0.02081, allocations: 0.875 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49): time 0.0005841/0.0214, allocations: 384.7 kB / 0.8015 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.02144, allocations: 62.12 kB / 0.8016 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.02175, allocations: 451.2 kB / 0.802 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.02178, allocations: 33.7 kB / 0.802 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.02198, allocations: 379.6 kB / 0.8024 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.02207, allocations: 174.5 kB / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.02218, allocations: 96 kB / 0.8026 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.02237, allocations: 0.5386 MB / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.02252, allocations: 103 kB / 0.8033 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.02272, allocations: 213.8 kB / 0.8035 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.02306, allocations: 305.8 kB / 0.8038 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02306, allocations: 4.562 kB / 0.8038 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004799/0.02354, allocations: 450.3 kB / 0.8042 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.02358, allocations: 30.58 kB / 0.8042 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.02359, allocations: 4 kB / 0.8042 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.02361, allocations: 4.656 kB / 0.8042 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.02389, allocations: 116.5 kB / 0.8043 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.0239, allocations: 7.938 kB / 0.8043 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.02404, allocations: 53.84 kB / 0.8044 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.02406, allocations: 16 kB / 0.8044 GB, free: 10.36 MB / 0.7605 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.0001466/0.02421, allocations: 186.5 kB / 0.8046 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.02427, allocations: 75.61 kB / 0.8047 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.02434, allocations: 64.52 kB / 0.8047 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.02435, allocations: 8 kB / 0.8047 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.02436, allocations: 3.938 kB / 0.8047 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.02437, allocations: 7.922 kB / 0.8047 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000931/0.0253, allocations: 0.8665 MB / 0.8056 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.0253, allocations: 3.984 kB / 0.8056 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.02554, allocations: 88.83 kB / 0.8057 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.02554, allocations: 0 / 0.8057 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.02557, allocations: 17.06 kB / 0.8057 GB, free: 9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.02557, allocations: 4 kB / 0.8057 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02557, allocations: 0 / 0.8057 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.02615, allocations: 0.5576 MB / 0.8062 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.02627, allocations: 95.45 kB / 0.8063 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.02631, allocations: 20.98 kB / 0.8064 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.02641, allocations: 12 kB / 0.8064 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.02649, allocations: 41.2 kB / 0.8064 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.02651, allocations: 12 kB / 0.8064 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001961/0.0267, allocations: 295.5 kB / 0.8067 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.0267, allocations: 1 kB / 0.8067 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005353/0.02724, allocations: 143.6 kB / 0.8068 GB, free: 7.816 MB / 0.7605 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.000126/0.02737, allocations: 108.2 kB / 0.8069 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.02778, allocations: 352.5 kB / 0.8073 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02778, allocations: 0 / 0.8073 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.02794, allocations: 147.4 kB / 0.8074 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.02843, allocations: 156.2 kB / 0.8076 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.0302, allocations: 1.169 MB / 0.8087 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.03029, allocations: 129.9 kB / 0.8088 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.03045, allocations: 64.53 kB / 0.8089 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.03054, allocations: 44.48 kB / 0.8089 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of SimCode: time 1.563e-06/0.03054, allocations: 0 / 0.8089 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of Templates: time 0.009348/0.03989, allocations: 5.808 MB / 0.8146 GB, free: 15.91 MB / 0.7761 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.580104561056942]