Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 192.2 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 72.22 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006317/0.3428, allocations: 4.33 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.3459, allocations: 1.546 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.3467, allocations: 35.81 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3471, allocations: 126.8 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.3478, allocations: 182.8 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.349, allocations: 0.6199 MB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3502, allocations: 1.14 MB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006862/0.3509, allocations: 492.2 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.3514, allocations: 405.8 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.3519, allocations: 425.5 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.352, allocations: 48 kB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.837e-05/0.3521, allocations: 48 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3523, allocations: 183 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.3526, allocations: 441 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.3535, allocations: 1.051 MB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3535, allocations: 0 / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3535, allocations: 0 / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.3535, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.8419 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.002397/0.3559, allocations: 1.395 MB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.356, allocations: 12.03 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.3562, allocations: 123.5 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3573, allocations: 0.7274 MB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.938e-05/0.3574, allocations: 88.27 kB / 1.081 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.3575, allocations: 68.38 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3587, allocations: 0.7368 MB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3588, allocations: 4 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.3588, allocations: 24 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.3589, allocations: 16 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3599, allocations: 0.5243 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.3633, allocations: 2.271 MB / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.3647, allocations: 0.6189 MB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.3652, allocations: 278.4 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.583e-05/0.3652, allocations: 4.562 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.366, allocations: 330.9 kB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/0.366, allocations: 3.938 kB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001681/0.3677, allocations: 0.7517 MB / 1.086 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.3677, allocations: 85.67 kB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/0.3686, allocations: 0.7516 MB / 1.087 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.3687, allocations: 45.69 kB / 1.087 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.3691, allocations: 440.5 kB / 1.087 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3692, allocations: 205 kB / 1.088 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3694, allocations: 110.2 kB / 1.088 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3695, allocations: 334 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.37, allocations: 207.4 kB / 1.088 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.3705, allocations: 300.4 kB / 1.088 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.3715, allocations: 0.5075 MB / 1.089 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3715, allocations: 0 / 1.089 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001244/0.3727, allocations: 0.654 MB / 1.09 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3728, allocations: 5.25 kB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3728, allocations: 4 kB / 1.09 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3728, allocations: 4 kB / 1.09 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.3735, allocations: 144 kB / 1.09 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.3735, allocations: 15.88 kB / 1.09 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.374, allocations: 71.34 kB / 1.09 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.374, allocations: 23.98 kB / 1.09 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006545/0.3747, allocations: 354 kB / 1.09 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004638/0.3752, allocations: 292.5 kB / 1.09 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008612/0.376, allocations: 491.7 kB / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.98e-06/0.376, allocations: 4 kB / 1.091 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001208/0.3773, allocations: 0.6304 MB / 1.092 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3773, allocations: 8.25 kB / 1.092 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3773, allocations: 7.938 kB / 1.092 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.3773, allocations: 4 kB / 1.092 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.3779, allocations: 143.8 kB / 1.092 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3779, allocations: 4 kB / 1.092 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.3783, allocations: 63.44 kB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3784, allocations: 20 kB / 1.092 GB, free: 1.594 MB / 0.8419 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.0002154/0.3786, allocations: 216.1 kB / 1.092 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3788, allocations: 94.78 kB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.379, allocations: 101.2 kB / 1.092 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.379, allocations: 8 kB / 1.092 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.379, allocations: 3.938 kB / 1.092 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.379, allocations: 8.062 kB / 1.092 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.3815, allocations: 1.435 MB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3815, allocations: 0 / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.3821, allocations: 107.8 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3821, allocations: 3.938 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.3821, allocations: 19.92 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3821, allocations: 8 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3822, allocations: 0 / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.3839, allocations: 0.9587 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.3843, allocations: 227.7 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3844, allocations: 16 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.3849, allocations: 31.97 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.385, allocations: 36.5 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.385, allocations: 16 kB / 1.095 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007385/0.3858, allocations: 0.5185 MB / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3858, allocations: 0 / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008366/0.3866, allocations: 271.1 kB / 1.096 GB, free: 13.44 MB / 0.8575 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.0002/0.3868, allocations: 119.1 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.3886, allocations: 0.7957 MB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3886, allocations: 0 / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.3892, allocations: 271.8 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.3904, allocations: 250.6 kB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.3938, allocations: 1.881 MB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.3945, allocations: 0.994 MB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006027/0.3952, allocations: 118.8 kB / 1.1 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.3954, allocations: 63.36 kB / 1.1 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of SimCode: time 1.042e-06/0.3954, allocations: 0 / 1.1 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.01843/0.4138, allocations: 8.768 MB / 1.109 GB, free: 232 kB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)