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 3.131/3.131, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001552/0.001551, allocations: 189.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001152/0.001152, allocations: 84.94 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007574/0.0007577, allocations: 10.19 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.208, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005065/0.2131, allocations: 3.684 MB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.2171, allocations: 1.486 MB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008761/0.218, allocations: 31.81 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2182, allocations: 71.17 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.2194, allocations: 239.2 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.2214, allocations: 0.5214 MB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.2232, allocations: 0.7782 MB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.2239, allocations: 347.4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.2247, allocations: 374.2 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.2252, allocations: 333.9 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.2253, allocations: 32 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2254, allocations: 24 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.2256, allocations: 135.2 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.2258, allocations: 181.1 kB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009069/0.2267, allocations: 0.8029 MB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2267, allocations: 0 / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2267, allocations: 0 / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.2267, allocations: 0 / 0.987 GB, free: 19.34 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.003193/0.2299, allocations: 1.251 MB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.23, allocations: 19.95 kB / 0.9882 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.2303, allocations: 126.5 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.2321, allocations: 0.7034 MB / 0.989 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2322, allocations: 83.7 kB / 0.9891 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.2324, allocations: 72 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.2343, allocations: 0.7289 MB / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.2343, allocations: 4 kB / 0.9899 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.2344, allocations: 27.98 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.2344, allocations: 16 kB / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.2362, allocations: 0.5282 MB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.2412, allocations: 2.294 MB / 0.9927 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.2436, allocations: 0.6536 MB / 0.9933 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.278e-05/0.2437, allocations: 16.55 kB / 0.9933 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2448, allocations: 323 kB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 4.548e-06/0.2448, allocations: 0 / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.002552/0.2474, allocations: 0.7637 MB / 0.9944 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.2475, allocations: 89.66 kB / 0.9945 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2487, allocations: 0.7482 MB / 0.9952 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.2488, allocations: 41.64 kB / 0.9952 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.2492, allocations: 444.5 kB / 0.9957 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.2494, allocations: 209 kB / 0.9959 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2494, allocations: 12 kB / 0.9959 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.2495, allocations: 337.9 kB / 0.9962 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.2503, allocations: 201.2 kB / 0.9964 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/0.2511, allocations: 304.4 kB / 0.9967 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.2519, allocations: 238.2 kB / 0.9969 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2519, allocations: 0 / 0.9969 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002014/0.254, allocations: 0.6617 MB / 0.9976 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.2542, allocations: 0.8792 MB / 0.9984 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2542, allocations: 0 / 0.9984 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.2542, allocations: 8 kB / 0.9984 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2554, allocations: 147.8 kB / 0.9986 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.2555, allocations: 4 kB / 0.9986 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.2563, allocations: 79.34 kB / 0.9986 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.2564, allocations: 23.98 kB / 0.9987 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2564, allocations: 4 kB / 0.9987 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/0.2581, allocations: 0.5245 MB / 0.9992 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.2582, allocations: 0 / 0.9992 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2582, allocations: 8 kB / 0.9992 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.2593, allocations: 147.8 kB / 0.9993 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2593, allocations: 4.25 kB / 0.9993 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.2601, allocations: 75.34 kB / 0.9994 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.2602, allocations: 16 kB / 0.9994 GB, free: 6.184 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.0005322/0.2607, allocations: 298.8 kB / 0.9997 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.2609, allocations: 90.88 kB / 0.9998 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.2612, allocations: 109.3 kB / 0.9999 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2612, allocations: 15.95 kB / 0.9999 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2612, allocations: 0 / 0.9999 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2612, allocations: 0 / 0.9999 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.2644, allocations: 1.454 MB / 1.001 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.2645, allocations: 0 / 1.001 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.2656, allocations: 111.8 kB / 1.001 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.2656, allocations: 3.953 kB / 1.001 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.2657, allocations: 16 kB / 1.001 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.2657, allocations: 8 kB / 1.001 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2657, allocations: 0 / 1.001 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.2685, allocations: 0.9669 MB / 1.002 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.269, allocations: 223.7 kB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.2691, allocations: 19.95 kB / 1.003 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.27, allocations: 43.95 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.2701, allocations: 32.52 kB / 1.003 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.2702, allocations: 19.98 kB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008445/0.271, allocations: 0.5148 MB / 1.003 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.271, allocations: 4 kB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001005/0.2721, allocations: 271.1 kB / 1.004 GB, free: 1.891 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.0001742/0.2722, allocations: 115.1 kB / 1.004 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.2748, allocations: 0.8002 MB / 1.004 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2749, allocations: 4.141 kB / 1.004 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008344/0.2757, allocations: 279.1 kB / 1.005 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.2774, allocations: 213.1 kB / 1.005 GB, free: 496 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.2818, allocations: 1.835 MB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.2827, allocations: 1.013 MB / 1.008 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009449/0.2837, allocations: 126.6 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.284, allocations: 59.44 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of SimCode: time 9.11e-07/0.284, allocations: 0 / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.02796/0.312, allocations: 8.402 MB / 1.016 GB, free: 5.082 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)