Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001041/0.001041, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008195/0.008195, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 19.66 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3671, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002233/0.3693, allocations: 1.502 MB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3711, allocations: 1.224 MB / 1.077 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.3713, allocations: 8 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3715, allocations: 59.5 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.3717, allocations: 35.72 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.3721, allocations: 139.8 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.3725, allocations: 457 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.373, allocations: 238.3 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3731, allocations: 111.3 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3733, allocations: 143 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.3733, allocations: 16 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.3734, allocations: 12 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3734, allocations: 59.64 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3736, allocations: 176.6 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.374, allocations: 498.4 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.374, allocations: 3.938 kB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.3e-06/0.3741, allocations: 3.984 kB / 1.079 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3741, allocations: 0 / 1.079 GB, free: 2.867 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.001155/0.3752, allocations: 0.6669 MB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3753, allocations: 11.97 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.261e-05/0.3754, allocations: 48.38 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.3758, allocations: 332.3 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.3759, allocations: 29.38 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.3759, allocations: 44.36 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.3767, allocations: 403.5 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3767, allocations: 192 / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.3767, allocations: 19.94 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3768, allocations: 8 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.3774, allocations: 299.8 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.3795, allocations: 1.362 MB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.3804, allocations: 286.7 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3807, allocations: 124.8 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3807, allocations: 12 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3807, allocations: 34.5 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.933e-06/0.3808, allocations: 0 / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007422/0.3815, allocations: 330.8 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.3816, allocations: 110.8 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.382, allocations: 397.6 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.382, allocations: 25.7 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3822, allocations: 243.9 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.3823, allocations: 74.91 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.3823, allocations: 37.69 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3825, allocations: 350.8 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.3828, allocations: 119.9 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.3832, allocations: 218.9 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.3837, allocations: 283.6 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3837, allocations: 0 / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007913/0.3845, allocations: 385 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.3847, allocations: 138.2 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3847, allocations: 4 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/0.3847, allocations: 4 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.385, allocations: 75.89 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3851, allocations: 4 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.3854, allocations: 67.5 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.3854, allocations: 12 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.3854, allocations: 4 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004767/0.3859, allocations: 268.9 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.3859, allocations: 0 / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.3859, allocations: 4 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3861, allocations: 63.86 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3862, allocations: 7.984 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3864, allocations: 47.73 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.3864, allocations: 12 kB / 1.085 GB, free: 11.67 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.0002117/0.3866, allocations: 229.1 kB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.3867, allocations: 31.62 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.3872, allocations: 275.8 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3872, allocations: 3.938 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3873, allocations: 3.938 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.3873, allocations: 4.031 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.3887, allocations: 0.8639 MB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3887, allocations: 4 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.3889, allocations: 48.16 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.389, allocations: 8 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.389, allocations: 8 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.389, allocations: 4 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.389, allocations: 11.88 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.3899, allocations: 0.4939 MB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.39, allocations: 128.6 kB / 1.087 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.39, allocations: 11.94 kB / 1.087 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3903, allocations: 27.98 kB / 1.087 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.3903, allocations: 15.92 kB / 1.087 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3903, allocations: 11.98 kB / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002995/0.3906, allocations: 283.2 kB / 1.088 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.82e-07/0.3906, allocations: 0 / 1.088 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004986/0.3911, allocations: 123.6 kB / 1.088 GB, free: 8.949 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.000228/0.3914, allocations: 119.1 kB / 1.088 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009045/0.3923, allocations: 416.5 kB / 1.088 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3923, allocations: 0 / 1.088 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.3925, allocations: 109 kB / 1.089 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.3932, allocations: 68.36 kB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3947, allocations: 0.8465 MB / 1.089 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3951, allocations: 0.796 MB / 1.09 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.3953, allocations: 42.94 kB / 1.09 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.3954, allocations: 31.38 kB / 1.09 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of SimCode: time 1.623e-06/0.3954, allocations: 0 / 1.09 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of Templates: time 0.008021/0.4034, allocations: 3.411 MB / 1.094 GB, free: 3.07 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1)