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.001723/0.001723, 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.002424/0.002425, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 70.38 kB / 0.9114 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4007, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003477/0.4042, allocations: 1.879 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.406, allocations: 1.24 MB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.4063, allocations: 4 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.4065, allocations: 55.52 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.4067, allocations: 43.7 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.4071, allocations: 147.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.4075, allocations: 453 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.4081, allocations: 246.3 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.4082, allocations: 147.3 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.4084, allocations: 175 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.4085, allocations: 24 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.252e-05/0.4085, allocations: 28 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.4086, allocations: 83.61 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4088, allocations: 178.8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.4093, allocations: 0.5141 MB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4093, allocations: 3.938 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4093, allocations: 0 / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4093, allocations: 0 / 1.073 GB, free: 5.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00154/0.4108, allocations: 0.7174 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/0.4109, allocations: 8.031 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.411, allocations: 56.3 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.4117, allocations: 336.3 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.4117, allocations: 29.38 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.4118, allocations: 40.38 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.4124, allocations: 391.5 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4124, allocations: 192 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.4125, allocations: 19.94 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4125, allocations: 12 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.413, allocations: 283.8 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.4152, allocations: 1.347 MB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.4161, allocations: 255.3 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.4164, allocations: 116.8 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4165, allocations: 7.969 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4165, allocations: 50.48 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.4165, allocations: 0 / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0007126/0.4172, allocations: 303.6 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.4174, allocations: 106.8 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.4179, allocations: 397.7 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4179, allocations: 29.7 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4181, allocations: 239.9 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.4182, allocations: 70.91 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4183, allocations: 69.61 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4184, allocations: 346.8 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.4187, allocations: 124.7 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.4191, allocations: 202.9 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.4196, allocations: 266.9 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4196, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007189/0.4204, allocations: 369 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4204, allocations: 7.938 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4204, allocations: 4 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4204, allocations: 4 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.4207, allocations: 79.98 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.4208, allocations: 4 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.421, allocations: 55.5 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.421, allocations: 16 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000357/0.4214, allocations: 196.1 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002817/0.4217, allocations: 189.7 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004088/0.4221, allocations: 221.4 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.4221, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005208/0.4226, allocations: 320.6 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4227, allocations: 7.984 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4227, allocations: 7.938 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.4227, allocations: 0 / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.423, allocations: 63.86 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.423, allocations: 12.14 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.4232, allocations: 35.73 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4232, allocations: 12 kB / 1.08 GB, free: 14.01 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.0001244/0.4233, allocations: 196.2 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.4234, allocations: 35.56 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.4239, allocations: 249 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4239, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4239, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4239, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4254, allocations: 0.8558 MB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4254, allocations: 0 / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.4256, allocations: 48.16 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4257, allocations: 8 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4257, allocations: 12 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4257, allocations: 7.984 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4257, allocations: 0 / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.4265, allocations: 491.3 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.4266, allocations: 124.6 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.4266, allocations: 12 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.4268, allocations: 15.98 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.4269, allocations: 27.84 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.4269, allocations: 8 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002953/0.4272, allocations: 283.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4272, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000455/0.4277, allocations: 127.5 kB / 1.082 GB, free: 11.39 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.0001917/0.4279, allocations: 117.3 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000821/0.4287, allocations: 402 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4287, allocations: 0 / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.4289, allocations: 95.83 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.4296, allocations: 82 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.4309, allocations: 0.8234 MB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.4313, allocations: 0.796 MB / 1.084 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.4315, allocations: 43.12 kB / 1.084 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.4316, allocations: 31.42 kB / 1.084 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4316, allocations: 0 / 1.084 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of Templates: time 0.006924/0.4385, allocations: 3.433 MB / 1.088 GB, free: 5.523 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)