Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, 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.001956/0.001956, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 70.84 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3841, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.005804/0.3899, allocations: 1.887 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.3928, allocations: 1.24 MB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.3931, allocations: 8 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3934, allocations: 55.5 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.3937, allocations: 35.73 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.3942, allocations: 143.8 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.3949, allocations: 453 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.3955, allocations: 258.3 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.3957, allocations: 139.3 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.3961, allocations: 179 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3962, allocations: 27.98 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.3963, allocations: 24 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3965, allocations: 87.61 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.3968, allocations: 178.8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.3976, allocations: 0.5063 MB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.3977, allocations: 4 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3977, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.257e-05/0.3977, allocations: 0 / 1.073 GB, free: 5.656 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001573/0.3993, allocations: 0.7227 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3993, allocations: 8.031 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3995, allocations: 52.31 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.3999, allocations: 340.3 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.4, allocations: 29.38 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.4001, allocations: 40.38 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.4008, allocations: 395.5 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4008, allocations: 192 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.4009, allocations: 19.94 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.4009, allocations: 8 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.4014, allocations: 275.8 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.4036, allocations: 1.347 MB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.4044, allocations: 255.2 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.4046, allocations: 120.9 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4047, allocations: 7.984 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4047, allocations: 42.5 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.985e-06/0.4047, allocations: 7.984 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.000693/0.4054, allocations: 303.6 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.4055, allocations: 102.8 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.406, allocations: 401.7 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.406, allocations: 33.7 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.4062, allocations: 235.9 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.4063, allocations: 70.91 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4064, allocations: 69.59 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4065, allocations: 346.8 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.4068, allocations: 120.7 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.4072, allocations: 207 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.4077, allocations: 263.8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4077, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007418/0.4084, allocations: 369 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4085, allocations: 9.188 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4085, allocations: 4 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4085, allocations: 3.984 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.4088, allocations: 72.06 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.4088, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.4091, allocations: 59.5 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4091, allocations: 8 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003006/0.4094, allocations: 208.1 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002503/0.4097, allocations: 177.8 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003749/0.4101, allocations: 234.7 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.4101, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005908/0.4107, allocations: 315.1 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4107, allocations: 8 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4107, allocations: 3.938 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.4107, allocations: 4 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.411, allocations: 67.84 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.411, allocations: 8.156 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.4113, allocations: 43.67 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.4113, allocations: 19.97 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001524/0.4114, allocations: 192.2 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.4115, allocations: 35.56 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.4121, allocations: 245 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4121, allocations: 7.984 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4121, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4121, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.4136, allocations: 0.8557 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4136, allocations: 0 / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.4138, allocations: 47.91 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4139, allocations: 4.25 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4139, allocations: 8 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4139, allocations: 4 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4139, allocations: 4 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.4147, allocations: 491.3 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4148, allocations: 128.6 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.4148, allocations: 8 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.415, allocations: 15.98 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4151, allocations: 23.86 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4151, allocations: 8 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000357/0.4155, allocations: 287.2 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4155, allocations: 0 / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005039/0.416, allocations: 127.5 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0002072/0.4162, allocations: 111.2 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.4171, allocations: 400.1 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4171, allocations: 0 / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.4173, allocations: 101.8 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.418, allocations: 87.67 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4196, allocations: 0.8156 MB / 1.084 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.42, allocations: 0.796 MB / 1.084 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.4202, allocations: 47.11 kB / 1.084 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.4203, allocations: 31.44 kB / 1.084 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4203, allocations: 0 / 1.084 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of Templates: time 0.008246/0.4286, allocations: 3.439 MB / 1.088 GB, free: 5.477 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1)