Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001454/0.001454, allocations: 173.8 kB / 16.27 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005934/0.0005934, allocations: 14.06 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4006, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008303/0.4015, allocations: 332 kB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.4031, allocations: 1.104 MB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.4032, allocations: 4 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.4032, allocations: 0 / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.4033, allocations: 3.938 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.4038, allocations: 115.3 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.4039, allocations: 79.81 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.4041, allocations: 4 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.4041, allocations: 23.98 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.4042, allocations: 27.91 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.4042, allocations: 8 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.4043, allocations: 15.98 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.4043, allocations: 7.984 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.4044, allocations: 49.61 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.4046, allocations: 83.72 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4046, allocations: 0 / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4046, allocations: 0 / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.4046, allocations: 0 / 1.076 GB, free: 5.707 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004081/0.405, allocations: 361.4 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4051, allocations: 8.031 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.4051, allocations: 12.92 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4052, allocations: 164.4 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4053, allocations: 4.375 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.4053, allocations: 8.375 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.4054, allocations: 34.25 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.4054, allocations: 192 / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4054, allocations: 7.938 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4054, allocations: 0 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.4055, allocations: 11.94 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.4058, allocations: 284.9 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.4059, allocations: 30.44 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.4059, allocations: 8.922 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.4059, allocations: 0 / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.4061, allocations: 71.23 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4061, allocations: 0 / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001839/0.4063, allocations: 61.67 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4063, allocations: 51.41 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.4064, allocations: 105.8 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4065, allocations: 33.7 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.4065, allocations: 84.14 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.4065, allocations: 7.891 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.4066, allocations: 17.72 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4067, allocations: 322.8 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.4068, allocations: 35.92 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.4069, allocations: 46.5 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.407, allocations: 80.27 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.407, allocations: 3.938 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002503/0.4072, allocations: 143.3 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.4073, allocations: 41.69 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4073, allocations: 0 / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4073, allocations: 0 / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.4073, allocations: 7.938 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4073, allocations: 0 / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.4076, allocations: 43.91 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.4076, allocations: 7.984 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.155e-05/0.4077, allocations: 121.8 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.4078, allocations: 0 / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.4078, allocations: 3.906 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4078, allocations: 4 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4078, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4078, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.4079, allocations: 169.6 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.408, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.408, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.408, allocations: 4 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.408, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.408, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.408, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.4081, allocations: 89.3 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4082, allocations: 81.02 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4082, allocations: 4 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.4082, allocations: 4 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.4082, allocations: 7.938 kB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.4083, allocations: 3.984 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.4083, allocations: 83.28 kB / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002082/0.4085, allocations: 16 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001474/0.4087, allocations: 99.23 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.4089, allocations: 131.2 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4089, allocations: 0 / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.4089, allocations: 8 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.4091, allocations: 19.86 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.4094, allocations: 122.7 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4097, allocations: 0.6811 MB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.4097, allocations: 4.375 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.4098, allocations: 11.44 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4098, allocations: 0 / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.003667/0.4134, allocations: 1.012 MB / 1.081 GB, free: 0.5508 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)