Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001514/0.001514, allocations: 186.8 kB / 16.25 MB, free: 6.578 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.23 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.419, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004405/0.4234, allocations: 2.109 MB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.4268, allocations: 1.583 MB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.4276, allocations: 8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.428, allocations: 63.38 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.4286, allocations: 51.52 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4297, allocations: 290.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008159/0.4305, allocations: 0.6843 MB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.4311, allocations: 329.3 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.4314, allocations: 263 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4317, allocations: 282.5 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.361e-05/0.4318, allocations: 79.94 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.4319, allocations: 91.98 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.4321, allocations: 135.6 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.4324, allocations: 302.4 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008142/0.4332, allocations: 0.7946 MB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.4332, allocations: 0 / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4332, allocations: 0 / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.4332, allocations: 0 / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001638/0.4349, allocations: 0.9129 MB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4349, allocations: 8.031 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4351, allocations: 72.09 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.4356, allocations: 404.6 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.4357, allocations: 45.38 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.4358, allocations: 52.38 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/0.4367, allocations: 0.4956 MB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4367, allocations: 192 / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.4368, allocations: 27.92 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.4368, allocations: 15.94 kB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.4375, allocations: 343.8 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.44, allocations: 1.566 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.441, allocations: 0.8639 MB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.4414, allocations: 242.6 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.4415, allocations: 4 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005479/0.442, allocations: 240.9 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.442, allocations: 3.938 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.00106/0.4431, allocations: 0.5259 MB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.4432, allocations: 111.2 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.4436, allocations: 385.6 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4437, allocations: 41.69 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.4439, allocations: 252.9 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.444, allocations: 149.8 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.4442, allocations: 102.1 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4444, allocations: 358.8 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.4448, allocations: 191 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.4453, allocations: 284.2 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.446, allocations: 427.4 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.446, allocations: 7.875 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001108/0.4471, allocations: 0.5635 MB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.4472, allocations: 45.58 kB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4472, allocations: 0 / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4472, allocations: 11.98 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.4477, allocations: 95.83 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.4477, allocations: 4 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.4481, allocations: 87.69 kB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.4482, allocations: 19.98 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004562/0.4486, allocations: 285.2 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003869/0.449, allocations: 264.2 kB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005507/0.4496, allocations: 384.2 kB / 1.084 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.4496, allocations: 0 / 1.084 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008722/0.4505, allocations: 0.5205 MB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.4505, allocations: 33.7 kB / 1.085 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4505, allocations: 8.156 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.4506, allocations: 8 kB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.4509, allocations: 91.83 kB / 1.085 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4509, allocations: 4 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.4513, allocations: 67.64 kB / 1.085 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.4513, allocations: 19.98 kB / 1.085 GB, free: 8.617 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0002062/0.4515, allocations: 213.8 kB / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.4516, allocations: 55.39 kB / 1.085 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.4524, allocations: 433.3 kB / 1.086 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4524, allocations: 4 kB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4524, allocations: 0 / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4525, allocations: 3.984 kB / 1.086 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4542, allocations: 1.136 MB / 1.087 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4542, allocations: 4 kB / 1.087 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.4546, allocations: 75.91 kB / 1.087 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.4546, allocations: 7.984 kB / 1.087 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.4546, allocations: 12 kB / 1.087 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.4546, allocations: 4 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4546, allocations: 7.938 kB / 1.087 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.4558, allocations: 0.7327 MB / 1.087 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.4559, allocations: 128.6 kB / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.4559, allocations: 16 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4562, allocations: 19.98 kB / 1.088 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.4563, allocations: 39.77 kB / 1.088 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.4563, allocations: 16 kB / 1.088 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003068/0.4566, allocations: 279.2 kB / 1.088 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4566, allocations: 0 / 1.088 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000629/0.4572, allocations: 199.2 kB / 1.088 GB, free: 5.113 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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.000265/0.4575, allocations: 119.2 kB / 1.088 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.4591, allocations: 0.7997 MB / 1.089 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4591, allocations: 4 kB / 1.089 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.4595, allocations: 191.5 kB / 1.089 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.4602, allocations: 100.2 kB / 1.089 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.462, allocations: 1.133 MB / 1.09 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.4625, allocations: 0.8473 MB / 1.091 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.4627, allocations: 59.31 kB / 1.091 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4629, allocations: 47.42 kB / 1.091 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.4629, allocations: 0 / 1.091 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.01277/0.4756, allocations: 5.954 MB / 1.097 GB, free: 11.83 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1)