Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.777/1.777, allocations: 251.7 MB / 0.5092 GB, free: 3.129 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 67.91 kB / 0.6223 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6964, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.004608/0.701, allocations: 2.804 MB / 0.7273 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.7032, allocations: 0.9361 MB / 0.7282 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.7035, allocations: 12 kB / 0.7282 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.7038, allocations: 91.05 kB / 0.7283 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.7041, allocations: 63.34 kB / 0.7283 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.7044, allocations: 179.7 kB / 0.7285 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.705, allocations: 0.5164 MB / 0.729 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.7054, allocations: 271.3 kB / 0.7293 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.7057, allocations: 179.1 kB / 0.7295 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.7059, allocations: 206.9 kB / 0.7297 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.706, allocations: 52 kB / 0.7297 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.7061, allocations: 52 kB / 0.7297 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.7062, allocations: 111.6 kB / 0.7299 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.7064, allocations: 222.6 kB / 0.7301 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.7069, allocations: 0.582 MB / 0.7306 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7069, allocations: 0 / 0.7306 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7069, allocations: 0 / 0.7306 GB, free: 6.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.7069, allocations: 0 / 0.7306 GB, free: 6.613 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001235/0.7082, allocations: 0.7793 MB / 0.7314 GB, free: 5.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.7082, allocations: 8.031 kB / 0.7314 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.7083, allocations: 56.28 kB / 0.7315 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.7088, allocations: 380.7 kB / 0.7318 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.7089, allocations: 29.38 kB / 0.7318 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.7089, allocations: 44.28 kB / 0.7319 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.7097, allocations: 426.7 kB / 0.7323 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7097, allocations: 3.938 kB / 0.7323 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.7097, allocations: 16 kB / 0.7323 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.7098, allocations: 12 kB / 0.7323 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005728/0.7103, allocations: 279.8 kB / 0.7326 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.7125, allocations: 1.695 MB / 0.7343 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.7132, allocations: 262.3 kB / 0.7345 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.7135, allocations: 132.8 kB / 0.7346 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.7135, allocations: 0 / 0.7346 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.7135, allocations: 34.56 kB / 0.7347 GB, free: 2.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/0.7136, allocations: 3.984 kB / 0.7347 GB, free: 2.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0006948/0.7143, allocations: 304.9 kB / 0.735 GB, free: 1.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.7143, allocations: 110.8 kB / 0.7351 GB, free: 1.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.7148, allocations: 445.8 kB / 0.7355 GB, free: 1.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.7149, allocations: 29.7 kB / 0.7355 GB, free: 1.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.715, allocations: 263.8 kB / 0.7358 GB, free: 1.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.7151, allocations: 71 kB / 0.7358 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.7152, allocations: 61.61 kB / 0.7359 GB, free: 0.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7154, allocations: 354.8 kB / 0.7362 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.7156, allocations: 108.8 kB / 0.7363 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.7159, allocations: 192.9 kB / 0.7365 GB, free: 276 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.7164, allocations: 260 kB / 0.7368 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7164, allocations: 0 / 0.7368 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006503/0.717, allocations: 344.9 kB / 0.7371 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.7171, allocations: 8 kB / 0.7371 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7171, allocations: 4.156 kB / 0.7371 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.7171, allocations: 7.938 kB / 0.7371 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.7174, allocations: 67.91 kB / 0.7372 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7174, allocations: 0 / 0.7372 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.7176, allocations: 55.5 kB / 0.7372 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.7177, allocations: 16 kB / 0.7372 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002568/0.7179, allocations: 196 kB / 0.7374 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001941/0.7181, allocations: 169.3 kB / 0.7376 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000275/0.7184, allocations: 210.8 kB / 0.7378 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.7184, allocations: 0 / 0.7378 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0004155/0.7189, allocations: 304.9 kB / 0.7381 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.7189, allocations: 4 kB / 0.7381 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.7189, allocations: 4 kB / 0.7381 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.7189, allocations: 4 kB / 0.7381 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.7191, allocations: 56.08 kB / 0.7382 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.7191, allocations: 11.94 kB / 0.7382 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.7193, allocations: 35.73 kB / 0.7382 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.7193, allocations: 12 kB / 0.7382 GB, free: 14.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001388/0.7195, allocations: 200.2 kB / 0.7384 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.7195, allocations: 35.53 kB / 0.7384 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.7196, allocations: 39.8 kB / 0.7385 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7196, allocations: 7.938 kB / 0.7385 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7197, allocations: 0 / 0.7385 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7197, allocations: 7.984 kB / 0.7385 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.7209, allocations: 0.7525 MB / 0.7392 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7209, allocations: 4 kB / 0.7392 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.7211, allocations: 48 kB / 0.7393 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7211, allocations: 0 / 0.7393 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.7212, allocations: 11.94 kB / 0.7393 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7212, allocations: 0 / 0.7393 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7212, allocations: 0 / 0.7393 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.722, allocations: 460.2 kB / 0.7397 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.7221, allocations: 120.6 kB / 0.7398 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.7221, allocations: 4 kB / 0.7398 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.7223, allocations: 19.98 kB / 0.7399 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.7224, allocations: 19.91 kB / 0.7399 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7224, allocations: 12 kB / 0.7399 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003262/0.7227, allocations: 303.1 kB / 0.7402 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7227, allocations: 0 / 0.7402 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004831/0.7232, allocations: 131.5 kB / 0.7403 GB, free: 12.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0001681/0.7234, allocations: 103.2 kB / 0.7404 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007478/0.7241, allocations: 376.3 kB / 0.7408 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7242, allocations: 0 / 0.7408 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.7243, allocations: 91.89 kB / 0.7409 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.7251, allocations: 114.8 kB / 0.741 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.7264, allocations: 0.7096 MB / 0.7417 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.7268, allocations: 0.8152 MB / 0.7424 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000172/0.727, allocations: 43.44 kB / 0.7425 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.7271, allocations: 31.44 kB / 0.7425 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.7271, allocations: 0 / 0.7425 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of Templates: time 0.007945/0.735, allocations: 3.843 MB / 0.7463 GB, free: 6.051 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)