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.0008947/0.0008946, allocations: 91.3 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.006119/0.006119, allocations: 171.1 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.43/1.43, 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 2.975/2.975, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 11.38 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3727, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002701/0.3755, allocations: 1.494 MB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3777, allocations: 1.224 MB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.3779, allocations: 11.94 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.3782, allocations: 51.5 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3784, allocations: 35.73 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.3788, allocations: 151.8 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.3794, allocations: 445 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.3798, allocations: 259.4 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.38, allocations: 111.3 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3802, allocations: 142.9 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.3802, allocations: 12 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.3803, allocations: 12 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3803, allocations: 67.56 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3805, allocations: 180.6 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.3811, allocations: 0.51 MB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3812, allocations: 0 / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3812, allocations: 3.938 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3812, allocations: 0 / 1.079 GB, free: 2.816 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.001176/0.3824, allocations: 0.6707 MB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3824, allocations: 16.03 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.3825, allocations: 52.31 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.383, allocations: 340.3 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.383, allocations: 29.38 kB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.3831, allocations: 40.38 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.3838, allocations: 423.5 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3838, allocations: 4.188 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.3839, allocations: 19.94 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3839, allocations: 12 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.3845, allocations: 295.9 kB / 1.081 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.3868, allocations: 1.393 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.3876, allocations: 274.9 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.3879, allocations: 122.5 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3879, allocations: 3.984 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3879, allocations: 38.56 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.3879, allocations: 4 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0007213/0.3887, allocations: 322.1 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.3887, allocations: 106.8 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.3894, allocations: 413.5 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3895, allocations: 29.7 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.3898, allocations: 251.7 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.3898, allocations: 67.02 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.3899, allocations: 33.7 kB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.39, allocations: 358.7 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.3905, allocations: 116.6 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.3908, allocations: 216.3 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.3914, allocations: 289.4 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3914, allocations: 7.938 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007396/0.3921, allocations: 382.2 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.3922, allocations: 156 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3923, allocations: 4 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3923, allocations: 4 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3926, allocations: 79.84 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3926, allocations: 4 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.3929, allocations: 67.5 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.3929, allocations: 8 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.3929, allocations: 4 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004569/0.3934, allocations: 261.3 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3934, allocations: 4 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.3934, allocations: 4 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.3936, allocations: 67.84 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3936, allocations: 8.219 kB / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3938, allocations: 43.61 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3939, allocations: 12 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.00022/0.3941, allocations: 229.1 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.3942, allocations: 39.52 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.3948, allocations: 262.4 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3948, allocations: 7.938 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3948, allocations: 0 / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3948, allocations: 0 / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3962, allocations: 0.8106 MB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3963, allocations: 0 / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.3965, allocations: 47.91 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3965, allocations: 4 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3965, allocations: 4.156 kB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3965, allocations: 8 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3965, allocations: 7.984 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/0.3973, allocations: 487.1 kB / 1.087 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.3974, allocations: 120.6 kB / 1.087 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.3974, allocations: 11.98 kB / 1.087 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3976, allocations: 19.98 kB / 1.087 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.3977, allocations: 15.98 kB / 1.088 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3977, allocations: 8 kB / 1.088 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003276/0.398, allocations: 287.2 kB / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.398, allocations: 0 / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004715/0.3985, allocations: 135.5 kB / 1.088 GB, free: 8.902 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.0001794/0.3987, allocations: 107.2 kB / 1.088 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007785/0.3995, allocations: 398.1 kB / 1.088 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3995, allocations: 4.312 kB / 1.088 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.3997, allocations: 109.9 kB / 1.089 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.4003, allocations: 69.83 kB / 1.089 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4019, allocations: 0.8381 MB / 1.089 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4023, allocations: 0.8038 MB / 1.09 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.4025, allocations: 47.38 kB / 1.09 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.4026, allocations: 31.44 kB / 1.09 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4026, allocations: 0 / 1.09 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of Templates: time 0.007548/0.4101, allocations: 3.269 MB / 1.093 GB, free: 3.195 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)