Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 308.1 MB, free: 4.336 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.00173/0.00173, allocations: 180.5 kB / 376.9 MB, free: 1.828 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.696/1.696, allocations: 205 MB / 0.6353 GB, free: 9.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 97.27 kB / 0.7479 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009351/0.0009352, allocations: 51.91 kB / 0.8704 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2184, allocations: 114.5 MB / 0.9822 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005511/0.2239, allocations: 4.353 MB / 0.9865 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.2269, allocations: 1.579 MB / 0.988 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.2275, allocations: 35.81 kB / 0.988 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.228, allocations: 126.8 kB / 0.9882 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.2288, allocations: 178.8 kB / 0.9883 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.2303, allocations: 0.6241 MB / 0.9889 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.2316, allocations: 1.152 MB / 0.9901 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/0.2323, allocations: 492.5 kB / 0.9905 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.2329, allocations: 409.8 kB / 0.9909 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.2334, allocations: 425.4 kB / 0.9913 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2336, allocations: 48 kB / 0.9914 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2337, allocations: 52 kB / 0.9914 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2339, allocations: 183.1 kB / 0.9916 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.2342, allocations: 441 kB / 0.992 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.2351, allocations: 1.059 MB / 0.993 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2351, allocations: 0 / 0.993 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2351, allocations: 3.938 kB / 0.9931 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.024e-05/0.2351, allocations: 0 / 0.9931 GB, free: 15.25 MB / 0.7292 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.002511/0.2377, allocations: 1.399 MB / 0.9944 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2377, allocations: 12.03 kB / 0.9944 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2379, allocations: 123.4 kB / 0.9945 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.2391, allocations: 0.7392 MB / 0.9953 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.2392, allocations: 84.14 kB / 0.9953 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2393, allocations: 72.38 kB / 0.9954 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.2405, allocations: 0.7368 MB / 0.9961 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2405, allocations: 0 / 0.9961 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.2405, allocations: 32 kB / 0.9962 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2406, allocations: 16 kB / 0.9962 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2417, allocations: 0.5165 MB / 0.9967 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.2449, allocations: 2.278 MB / 0.9989 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.2463, allocations: 0.6244 MB / 0.9995 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.2468, allocations: 278.4 kB / 0.9998 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.2468, allocations: 8.562 kB / 0.9998 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007227/0.2476, allocations: 319 kB / 1 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/0.2476, allocations: 4 kB / 1 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.001579/0.2492, allocations: 0.7478 MB / 1.001 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.2492, allocations: 85.67 kB / 1.001 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.2501, allocations: 0.7635 MB / 1.002 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.2501, allocations: 37.7 kB / 1.002 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.2505, allocations: 448.5 kB / 1.002 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.2506, allocations: 201 kB / 1.002 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.2508, allocations: 106.3 kB / 1.002 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.251, allocations: 334 kB / 1.003 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.2514, allocations: 207.4 kB / 1.003 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.252, allocations: 304.5 kB / 1.003 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.2529, allocations: 0.5074 MB / 1.004 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2529, allocations: 3.938 kB / 1.004 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001293/0.2542, allocations: 0.6539 MB / 1.004 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2543, allocations: 4 kB / 1.004 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2543, allocations: 4 kB / 1.004 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2543, allocations: 12.25 kB / 1.004 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.255, allocations: 147.8 kB / 1.005 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.255, allocations: 7.938 kB / 1.005 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.2554, allocations: 71.39 kB / 1.005 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.2555, allocations: 23.98 kB / 1.005 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006004/0.2561, allocations: 357.4 kB / 1.005 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004488/0.2566, allocations: 296.4 kB / 1.005 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008583/0.2574, allocations: 499.7 kB / 1.006 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.2574, allocations: 0 / 1.006 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001135/0.2586, allocations: 0.6267 MB / 1.006 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2586, allocations: 8 kB / 1.006 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.2586, allocations: 3.938 kB / 1.006 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.2586, allocations: 8 kB / 1.006 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.2592, allocations: 139.8 kB / 1.006 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2592, allocations: 15.92 kB / 1.007 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.2597, allocations: 55.64 kB / 1.007 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.2597, allocations: 24 kB / 1.007 GB, free: 0.9414 MB / 0.7292 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.26, allocations: 226.8 kB / 1.007 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.2601, allocations: 94.78 kB / 1.007 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.2604, allocations: 105.3 kB / 1.007 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2604, allocations: 4 kB / 1.007 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.2604, allocations: 3.938 kB / 1.007 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2604, allocations: 3.984 kB / 1.007 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2626, allocations: 1.438 MB / 1.008 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2627, allocations: 0 / 1.008 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.2632, allocations: 103.8 kB / 1.008 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.2632, allocations: 8 kB / 1.009 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.2633, allocations: 19.92 kB / 1.009 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2633, allocations: 0 / 1.009 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2633, allocations: 0 / 1.009 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008751/0.2721, allocations: 5.347 MB / 1.014 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.2723, allocations: 223.6 kB / 1.014 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.2724, allocations: 16 kB / 1.014 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.2729, allocations: 27.97 kB / 1.014 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.273, allocations: 40.55 kB / 1.014 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.273, allocations: 23.98 kB / 1.014 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005957/0.2736, allocations: 0.5187 MB / 1.015 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.2736, allocations: 0 / 1.015 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009916/0.2746, allocations: 383.1 kB / 1.015 GB, free: 8.133 MB / 0.7448 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 (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.0001396/0.2748, allocations: 121.5 kB / 1.015 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.2763, allocations: 0.7924 MB / 1.016 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2763, allocations: 0 / 1.016 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.2769, allocations: 275.2 kB / 1.016 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.278, allocations: 239.9 kB / 1.016 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.2809, allocations: 2.268 MB / 1.019 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.2814, allocations: 1.002 MB / 1.02 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000553/0.282, allocations: 130.8 kB / 1.02 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.2822, allocations: 71.42 kB / 1.02 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.2822, allocations: 0 / 1.02 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.3588/0.6411, allocations: 10.22 MB / 1.03 GB, free: 95.48 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)