Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.732/1.732, allocations: 287.5 MB / 302.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 182.5 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007775/0.0007775, allocations: 98.56 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005114, allocations: 16.27 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1955, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003354/0.1989, allocations: 3.684 MB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.2017, allocations: 1.548 MB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.2025, allocations: 35.81 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.2029, allocations: 114.9 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006959/0.2036, allocations: 170.7 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.2049, allocations: 0.5152 MB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.2061, allocations: 1.077 MB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.2068, allocations: 488.5 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.2073, allocations: 342 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.2077, allocations: 333.8 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.2079, allocations: 24 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.208, allocations: 28 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.2081, allocations: 147.1 kB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2082, allocations: 169.1 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.2087, allocations: 0.8104 MB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2087, allocations: 0 / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2087, allocations: 0 / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.191e-05/0.2088, allocations: 4 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002085/0.2109, allocations: 1.239 MB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2109, allocations: 8.031 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.2112, allocations: 123.4 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2122, allocations: 0.7431 MB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.2123, allocations: 84.27 kB / 0.99 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.613e-05/0.2124, allocations: 68.38 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.2135, allocations: 0.7368 MB / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2135, allocations: 0 / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.2135, allocations: 35.94 kB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2136, allocations: 16 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2146, allocations: 0.5243 MB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.2174, allocations: 2.29 MB / 0.9936 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2186, allocations: 0.6325 MB / 0.9942 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.2191, allocations: 279.8 kB / 0.9945 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.2191, allocations: 8.562 kB / 0.9945 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.2197, allocations: 330.9 kB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.455e-06/0.2198, allocations: 4 kB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001382/0.2211, allocations: 0.7634 MB / 0.9956 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2212, allocations: 81.67 kB / 0.9956 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.2219, allocations: 0.7557 MB / 0.9964 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.2219, allocations: 41.7 kB / 0.9964 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.2222, allocations: 452.4 kB / 0.9969 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2223, allocations: 201 kB / 0.9971 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.2223, allocations: 8 kB / 0.9971 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.2224, allocations: 334 kB / 0.9974 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.2228, allocations: 201.2 kB / 0.9976 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.2232, allocations: 316.4 kB / 0.9979 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.2241, allocations: 0.5191 MB / 0.9984 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2241, allocations: 0 / 0.9984 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001101/0.2252, allocations: 0.6579 MB / 0.999 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.2253, allocations: 159.1 kB / 0.9992 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2253, allocations: 3.938 kB / 0.9992 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.2253, allocations: 4 kB / 0.9992 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.2259, allocations: 155.8 kB / 0.9993 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.226, allocations: 4 kB / 0.9993 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.2264, allocations: 79.34 kB / 0.9994 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.2264, allocations: 20 kB / 0.9994 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.2264, allocations: 4 kB / 0.9994 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008576/0.2273, allocations: 0.5167 MB / 0.9999 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2273, allocations: 8.234 kB / 0.9999 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.2273, allocations: 8 kB / 0.9999 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.2279, allocations: 143.8 kB / 1 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2279, allocations: 8 kB / 1 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.2283, allocations: 67.36 kB / 1 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.2284, allocations: 20 kB / 1 GB, free: 5.695 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.2286, allocations: 304.9 kB / 1 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.2287, allocations: 94.88 kB / 1.001 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.2289, allocations: 101.3 kB / 1.001 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2289, allocations: 4 kB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2289, allocations: 0 / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2289, allocations: 3.984 kB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.2307, allocations: 1.462 MB / 1.002 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2307, allocations: 7.938 kB / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.2312, allocations: 103.9 kB / 1.002 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2313, allocations: 4 kB / 1.002 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.2313, allocations: 19.92 kB / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2313, allocations: 3.938 kB / 1.002 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2313, allocations: 0 / 1.002 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2327, allocations: 0.9705 MB / 1.003 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.2329, allocations: 231.6 kB / 1.003 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.233, allocations: 12 kB / 1.003 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.2334, allocations: 39.97 kB / 1.003 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.2335, allocations: 36.5 kB / 1.003 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.2335, allocations: 20 kB / 1.003 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004856/0.234, allocations: 0.507 MB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.234, allocations: 0 / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005925/0.2346, allocations: 279 kB / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000119/0.2348, allocations: 115.1 kB / 1.004 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.2361, allocations: 0.8035 MB / 1.005 GB, free: 484 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2361, allocations: 0 / 1.005 GB, free: 484 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.2365, allocations: 279.7 kB / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2376, allocations: 232 kB / 1.006 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.2401, allocations: 1.827 MB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.2406, allocations: 0.994 MB / 1.008 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.2411, allocations: 118.7 kB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.2413, allocations: 75.3 kB / 1.009 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.195e-06/0.2413, allocations: 0 / 1.009 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.01456/0.2559, allocations: 8.412 MB / 1.017 GB, free: 4.578 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)