Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001495/0.001496, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002081/0.002081, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.55 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3664, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003603/0.3701, allocations: 1.891 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3719, allocations: 1.24 MB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.3721, allocations: 11.94 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.3723, allocations: 51.52 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3725, allocations: 35.73 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.3729, allocations: 143.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.3733, allocations: 489 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.3737, allocations: 275.4 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3739, allocations: 175.3 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.3741, allocations: 195 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.3742, allocations: 56 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/0.3743, allocations: 52 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.3744, allocations: 119.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3745, allocations: 206.9 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.375, allocations: 0.5609 MB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3751, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3751, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3751, allocations: 0 / 1.073 GB, free: 5.328 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.001217/0.3763, allocations: 0.7369 MB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3764, allocations: 15.97 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.3765, allocations: 52.28 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.3769, allocations: 340.3 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.3769, allocations: 29.38 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.377, allocations: 44.38 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.3777, allocations: 411.5 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3777, allocations: 192 / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.3778, allocations: 19.94 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3778, allocations: 12 kB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.3783, allocations: 283.8 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.3805, allocations: 1.374 MB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.3813, allocations: 246.9 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.3816, allocations: 122.7 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.3816, allocations: 0 / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3817, allocations: 38.56 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.3817, allocations: 3.938 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007102/0.3824, allocations: 301 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.3825, allocations: 102.8 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.383, allocations: 409.5 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3831, allocations: 37.7 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3833, allocations: 251.7 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3833, allocations: 67.02 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3835, allocations: 69.92 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3836, allocations: 342.8 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.3839, allocations: 118.1 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3842, allocations: 208.3 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.3847, allocations: 277.3 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3848, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006761/0.3854, allocations: 370 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3855, allocations: 8.156 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3855, allocations: 8 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.3855, allocations: 7.938 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.3858, allocations: 67.89 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3858, allocations: 4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3861, allocations: 59.52 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3861, allocations: 15.97 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002638/0.3864, allocations: 200.8 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002188/0.3866, allocations: 179.1 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003039/0.3869, allocations: 233.6 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.3869, allocations: 4 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005201/0.3874, allocations: 314.7 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3875, allocations: 9.25 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.3875, allocations: 3.938 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.3875, allocations: 4 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3877, allocations: 63.86 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3877, allocations: 7.984 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3879, allocations: 35.73 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.388, allocations: 16.22 kB / 1.08 GB, free: 13.52 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.0002146/0.3882, allocations: 200.1 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.3883, allocations: 35.53 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.3888, allocations: 244.9 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3888, allocations: 4 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3888, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3889, allocations: 4 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.3902, allocations: 0.7845 MB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3902, allocations: 4.031 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.3904, allocations: 47.91 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3904, allocations: 4 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3904, allocations: 3.938 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3904, allocations: 4 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3904, allocations: 0 / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.3912, allocations: 464.6 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3913, allocations: 124.8 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.3913, allocations: 4 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3915, allocations: 27.97 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3916, allocations: 19.91 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3916, allocations: 8 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003407/0.3919, allocations: 287.2 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3919, allocations: 0 / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005038/0.3924, allocations: 127.5 kB / 1.083 GB, free: 11.02 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.0002185/0.3927, allocations: 112.6 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007878/0.3935, allocations: 410.4 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3935, allocations: 4.25 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.3937, allocations: 95.83 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.3943, allocations: 72.05 kB / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3957, allocations: 0.8192 MB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.396, allocations: 0.7996 MB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.3962, allocations: 39.27 kB / 1.085 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.3963, allocations: 31.44 kB / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3963, allocations: 0 / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of Templates: time 0.007431/0.4037, allocations: 3.459 MB / 1.088 GB, free: 5.152 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1)