Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.00133, allocations: 100 kB / 15.05 MB, free: 1.105 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.001424/0.001424, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.736/1.736, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007164/0.0007167, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6982, allocations: 106.3 MB / 0.728 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005154/0.7034, allocations: 4.678 MB / 0.7326 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.7074, allocations: 1.725 MB / 0.7342 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009907/0.7084, allocations: 31.88 kB / 0.7343 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.7087, allocations: 114.7 kB / 0.7344 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.7096, allocations: 251.1 kB / 0.7346 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.7104, allocations: 375.5 kB / 0.735 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.7117, allocations: 0.9103 MB / 0.7359 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.7124, allocations: 0.4902 MB / 0.7363 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.7128, allocations: 342.1 kB / 0.7367 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.7133, allocations: 405.4 kB / 0.7371 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.94e-05/0.7134, allocations: 32 kB / 0.7371 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.7135, allocations: 36 kB / 0.7371 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.7137, allocations: 167.1 kB / 0.7373 GB, free: 1.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.7139, allocations: 213 kB / 0.7375 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.7153, allocations: 1.291 MB / 0.7387 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7153, allocations: 0 / 0.7387 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd: time 5.48e-06/0.7153, allocations: 4 kB / 0.7388 GB, free: 488 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.329e-05/0.7154, allocations: 3.938 kB / 0.7388 GB, free: 484 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.003542/0.7189, allocations: 1.533 MB / 0.7403 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.719, allocations: 12.03 kB / 0.7403 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.7194, allocations: 150.1 kB / 0.7404 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.7205, allocations: 0.7306 MB / 0.7411 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.7206, allocations: 78.08 kB / 0.7412 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.7207, allocations: 115.9 kB / 0.7413 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.7228, allocations: 1.106 MB / 0.7424 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.7228, allocations: 4 kB / 0.7424 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.7229, allocations: 44 kB / 0.7424 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.7229, allocations: 24 kB / 0.7425 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.725, allocations: 0.8782 MB / 0.7433 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005835/0.7308, allocations: 4.152 MB / 0.7474 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.7333, allocations: 1.111 MB / 0.7485 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.7334, allocations: 12.94 kB / 0.7485 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.7344, allocations: 449.1 kB / 0.7489 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 5.47e-06/0.7344, allocations: 7.984 kB / 0.7489 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.00253/0.737, allocations: 1.151 MB / 0.75 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.7371, allocations: 218.6 kB / 0.7502 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.7382, allocations: 0.8781 MB / 0.7511 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.7383, allocations: 41.7 kB / 0.7511 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.7388, allocations: 0.5431 MB / 0.7517 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.739, allocations: 291.8 kB / 0.7519 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.7391, allocations: 23.94 kB / 0.752 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7393, allocations: 337.9 kB / 0.7523 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.74, allocations: 341.8 kB / 0.7526 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.7409, allocations: 0.5281 MB / 0.7531 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/0.7417, allocations: 394.8 kB / 0.7535 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7418, allocations: 0 / 0.7535 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002064/0.7438, allocations: 0.9961 MB / 0.7545 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004602/0.7443, allocations: 0.796 MB / 0.7553 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7443, allocations: 4 kB / 0.7553 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.7443, allocations: 4 kB / 0.7553 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.7451, allocations: 219.7 kB / 0.7555 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7452, allocations: 4 kB / 0.7555 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.7459, allocations: 171 kB / 0.7556 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.7459, allocations: 32 kB / 0.7557 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.7459, allocations: 6.188 kB / 0.7557 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/0.7473, allocations: 0.6912 MB / 0.7563 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7473, allocations: 4.062 kB / 0.7564 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.7473, allocations: 8 kB / 0.7564 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.748, allocations: 171.8 kB / 0.7565 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.748, allocations: 7.938 kB / 0.7565 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.7486, allocations: 127 kB / 0.7567 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.7486, allocations: 28 kB / 0.7567 GB, free: 13.55 MB / 0.5762 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0005707/0.7492, allocations: 333.9 kB / 0.757 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.7494, allocations: 110.6 kB / 0.7571 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.7496, allocations: 115.2 kB / 0.7572 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7496, allocations: 8 kB / 0.7572 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.7496, allocations: 4 kB / 0.7572 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.7496, allocations: 7.938 kB / 0.7572 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.7508, allocations: 0.9792 MB / 0.7582 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7508, allocations: 0 / 0.7582 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/0.7515, allocations: 179.8 kB / 0.7584 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.7515, allocations: 0 / 0.7584 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.7516, allocations: 20 kB / 0.7584 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7516, allocations: 0 / 0.7584 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7516, allocations: 0 / 0.7584 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.7542, allocations: 1.319 MB / 0.7597 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.7545, allocations: 191.5 kB / 0.7598 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.7546, allocations: 28 kB / 0.7599 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.755, allocations: 87.92 kB / 0.76 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.7552, allocations: 52.92 kB / 0.76 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.7552, allocations: 20 kB / 0.76 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008519/0.7561, allocations: 0.5956 MB / 0.7606 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7561, allocations: 7.875 kB / 0.7606 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000881/0.757, allocations: 378.5 kB / 0.761 GB, free: 9.039 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002349/0.7572, allocations: 135.1 kB / 0.7611 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.7596, allocations: 1.202 MB / 0.7623 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.7596, allocations: 0 / 0.7623 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.7605, allocations: 414.2 kB / 0.7627 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.7615, allocations: 235.1 kB / 0.7629 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.7649, allocations: 2.274 MB / 0.7651 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/0.7658, allocations: 1.101 MB / 0.7662 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006028/0.7664, allocations: 136.2 kB / 0.7663 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.7666, allocations: 79.42 kB / 0.7664 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.7666, allocations: 0 / 0.7664 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.01965/0.7863, allocations: 10.21 MB / 0.7764 GB, free: 9.324 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) Environment - environmentSimulation: