Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01022/0.01022, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.002002/0.002002, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.826/1.826, allocations: 205.1 MB / 222.5 MB, free: 4.352 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.766/1.766, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001501/0.001501, allocations: 63.91 kB / 0.7258 GB, free: 9.184 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2667, allocations: 104.7 MB / 0.8281 GB, free: 384 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003307/0.27, allocations: 1.462 MB / 0.8295 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.2707, allocations: 224.2 kB / 0.8297 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.2708, allocations: 0 / 0.8297 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.2709, allocations: 3.938 kB / 0.8297 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.271, allocations: 11.88 kB / 0.8297 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2713, allocations: 31.89 kB / 0.8298 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.2714, allocations: 59.78 kB / 0.8298 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2716, allocations: 16 kB / 0.8298 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.2717, allocations: 23.92 kB / 0.8298 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.2718, allocations: 23.91 kB / 0.8299 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.2718, allocations: 4 kB / 0.8299 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.2718, allocations: 8 kB / 0.8299 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.2719, allocations: 15.91 kB / 0.8299 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.272, allocations: 23.88 kB / 0.8299 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2721, allocations: 63.72 kB / 0.83 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.2721, allocations: 0 / 0.83 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.577e-06/0.2721, allocations: 0 / 0.83 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.2722, allocations: 4 kB / 0.83 GB, free: 14.4 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008367/0.273, allocations: 375.3 kB / 0.8303 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.2731, allocations: 12.03 kB / 0.8304 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.2731, allocations: 8.844 kB / 0.8304 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2734, allocations: 184.1 kB / 0.8305 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2734, allocations: 8.375 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2734, allocations: 4.375 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2737, allocations: 66.22 kB / 0.8306 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2737, allocations: 192 / 0.8306 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2737, allocations: 7.938 kB / 0.8306 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2737, allocations: 0 / 0.8306 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.2739, allocations: 43.95 kB / 0.8307 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.2745, allocations: 308.6 kB / 0.831 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.275, allocations: 94.55 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2751, allocations: 32.95 kB / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.2751, allocations: 0 / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.2754, allocations: 83.31 kB / 0.8312 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2754, allocations: 0 / 0.8312 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004317/0.2758, allocations: 125.7 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.2759, allocations: 55.41 kB / 0.8313 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.276, allocations: 125.7 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.276, allocations: 29.7 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.2761, allocations: 88.14 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2761, allocations: 11.81 kB / 0.8316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.2762, allocations: 33.64 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2764, allocations: 322.8 kB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.2765, allocations: 27.92 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2766, allocations: 59.78 kB / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.2768, allocations: 83.33 kB / 0.8321 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2768, allocations: 0 / 0.8321 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002516/0.2771, allocations: 113.7 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2771, allocations: 4 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2771, allocations: 3.938 kB / 0.8322 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2771, allocations: 4 kB / 0.8322 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.2772, allocations: 15.92 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2772, allocations: 320 / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.2773, allocations: 20.02 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2773, allocations: 4 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,change.y,change.u,$PRE.change.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.527e-05/0.2774, allocations: 128.2 kB / 0.8324 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.2774, allocations: 7.906 kB / 0.8324 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.2775, allocations: 8.375 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2775, allocations: 0 / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2775, allocations: 4.062 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2775, allocations: 4 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.278, allocations: 370.4 kB / 0.8327 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.278, allocations: 0 / 0.8327 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.2781, allocations: 4 kB / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2781, allocations: 4 kB / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2781, allocations: 0 / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2781, allocations: 3.984 kB / 0.8327 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2781, allocations: 3.938 kB / 0.8327 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.2784, allocations: 199.4 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.2785, allocations: 77.11 kB / 0.833 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2785, allocations: 11.98 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2786, allocations: 7.984 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.2787, allocations: 11.92 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2787, allocations: 4 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.2788, allocations: 99.22 kB / 0.8331 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2788, allocations: 0 / 0.8331 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002302/0.279, allocations: 15.91 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001931/0.2792, allocations: 99.23 kB / 0.8333 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.2795, allocations: 79.88 kB / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2795, allocations: 192 / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2796, allocations: 39.91 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.28, allocations: 16.22 kB / 0.8334 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.2804, allocations: 154.1 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.2807, allocations: 0.6922 MB / 0.8342 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.95e-05/0.2808, allocations: 11.86 kB / 0.8342 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2808, allocations: 11.44 kB / 0.8342 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2808, allocations: 0 / 0.8342 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of Templates: time 0.00411/0.2849, allocations: 0.8946 MB / 0.8351 GB, free: 8.75 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)