Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.000814, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005329/0.005329, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.13/3.13, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005578, allocations: 18 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4717, allocations: 162.1 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002438/0.4742, allocations: 1.502 MB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.4765, allocations: 1.228 MB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004202/0.4769, allocations: 4 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.4772, allocations: 55.52 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.4775, allocations: 35.72 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.478, allocations: 143.8 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.4786, allocations: 449 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004882/0.4791, allocations: 263.4 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.4793, allocations: 107.3 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.4795, allocations: 139 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.4795, allocations: 12 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.402e-05/0.4796, allocations: 12 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.4796, allocations: 71.58 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.4798, allocations: 176.6 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.4803, allocations: 0.51 MB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4803, allocations: 0 / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4803, allocations: 3.938 kB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4803, allocations: 3.938 kB / 1.079 GB, free: 2.824 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001174/0.4815, allocations: 0.6784 MB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4815, allocations: 8.031 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4817, allocations: 48.38 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.4821, allocations: 344.3 kB / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.4822, allocations: 33.38 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.4823, allocations: 36.38 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.483, allocations: 423.5 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4831, allocations: 4.188 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.4831, allocations: 19.94 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4831, allocations: 8 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005967/0.4837, allocations: 299.8 kB / 1.081 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.4858, allocations: 1.386 MB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.4866, allocations: 277.4 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.4868, allocations: 126 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4869, allocations: 11.98 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4869, allocations: 34.56 kB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.4869, allocations: 0 / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0007125/0.4876, allocations: 330.8 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.4877, allocations: 102.8 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.4882, allocations: 409.5 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4882, allocations: 29.7 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4884, allocations: 251.7 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.4885, allocations: 71 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.4885, allocations: 33.7 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4887, allocations: 354.7 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.4889, allocations: 112.6 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.4893, allocations: 224.3 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.4898, allocations: 297.2 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4898, allocations: 0 / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007308/0.4905, allocations: 382.1 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.4907, allocations: 152 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4907, allocations: 4 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4907, allocations: 4 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.491, allocations: 79.83 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.491, allocations: 8 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.4913, allocations: 63.52 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.4913, allocations: 23.92 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.4914, allocations: 4 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004381/0.4918, allocations: 257.2 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4918, allocations: 3.984 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.4918, allocations: 4 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4921, allocations: 64.14 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4921, allocations: 7.984 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.4923, allocations: 39.62 kB / 1.085 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.4923, allocations: 19.98 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002004/0.4925, allocations: 229.1 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.4926, allocations: 35.53 kB / 1.086 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.4931, allocations: 266.9 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4931, allocations: 7.938 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4931, allocations: 0 / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4932, allocations: 7.984 kB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.4945, allocations: 0.8028 MB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4945, allocations: 0 / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.4948, allocations: 43.92 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.4948, allocations: 8.141 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.4948, allocations: 12 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4948, allocations: 0 / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.4948, allocations: 4 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.4956, allocations: 487.1 kB / 1.087 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4957, allocations: 124.6 kB / 1.087 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4958, allocations: 4 kB / 1.087 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.496, allocations: 23.98 kB / 1.087 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.496, allocations: 15.98 kB / 1.088 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.496, allocations: 11.98 kB / 1.088 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003305/0.4964, allocations: 283.2 kB / 1.088 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4964, allocations: 0 / 1.088 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005213/0.4969, allocations: 131.5 kB / 1.088 GB, free: 8.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001844/0.4971, allocations: 115.2 kB / 1.088 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008445/0.4979, allocations: 406.2 kB / 1.088 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.498, allocations: 0 / 1.088 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.4982, allocations: 95.89 kB / 1.089 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.4988, allocations: 76.73 kB / 1.089 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.5002, allocations: 0.8437 MB / 1.089 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.5006, allocations: 0.7999 MB / 1.09 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.5008, allocations: 39.27 kB / 1.09 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.5009, allocations: 35.42 kB / 1.09 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.5009, allocations: 0 / 1.09 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of Templates: time 0.007822/0.5087, allocations: 3.272 MB / 1.093 GB, free: 3.195 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1)