Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009618/0.009618, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001918/0.001918, allocations: 192 kB / 16.67 MB, free: 5.973 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.725/1.725, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.784/1.784, allocations: 251.7 MB / 0.5094 GB, free: 2.973 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.001458/0.001458, allocations: 71.89 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 104.7 MB / 0.8281 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002016/0.2603, allocations: 0.5501 MB / 0.8286 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 5.152e-05/0.2604, allocations: 4 kB / 0.8286 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.2604, allocations: 4 kB / 0.8286 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.2605, allocations: 4 kB / 0.8286 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.2605, allocations: 3.938 kB / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.828e-05/0.2606, allocations: 0 / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.2606, allocations: 0 / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.2607, allocations: 7.922 kB / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.2607, allocations: 4 kB / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.943e-05/0.2607, allocations: 0 / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2608, allocations: 0 / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.2608, allocations: 0 / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.2608, allocations: 0 / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.2608, allocations: 8 kB / 0.8286 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.237e-05/0.2609, allocations: 3.984 kB / 0.8286 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2609, allocations: 4 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2609, allocations: 3.938 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2609, allocations: 0 / 0.8286 GB, free: 15.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003799/0.2613, allocations: 311.5 kB / 0.8289 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2614, allocations: 12.06 kB / 0.829 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.2614, allocations: 0.9375 kB / 0.829 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2615, allocations: 160.4 kB / 0.8291 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2615, allocations: 4.375 kB / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.2616, allocations: 384 / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.2616, allocations: 38.2 kB / 0.8291 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2617, allocations: 4.172 kB / 0.8291 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2617, allocations: 3.938 kB / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2617, allocations: 0 / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.2617, allocations: 0 / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.2621, allocations: 387.5 kB / 0.8295 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.2622, allocations: 177 kB / 0.8297 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.2622, allocations: 80.14 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.2622, allocations: 75.28 kB / 0.8298 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/0.2623, allocations: 113.8 kB / 0.8299 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2623, allocations: 4 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.485e-05/0.2624, allocations: 30.08 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.2625, allocations: 130.7 kB / 0.8301 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2626, allocations: 93.8 kB / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2626, allocations: 25.7 kB / 0.8302 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.2626, allocations: 84.14 kB / 0.8303 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.2627, allocations: 0 / 0.8303 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.2627, allocations: 9.719 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2628, allocations: 330.9 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-06/0.2628, allocations: 0 / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.2629, allocations: 0 / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/0.2629, allocations: 75.28 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/0.2629, allocations: 79.28 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.277e-05/0.263, allocations: 29.64 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.263, allocations: 79.28 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.2631, allocations: 83.22 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.49e-05/0.2631, allocations: 154.6 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.667e-05/0.2632, allocations: 75.28 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-05/0.2632, allocations: 162.4 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.2633, allocations: 83.28 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.2634, allocations: 79.22 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001259/0.2635, allocations: 264.3 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.2636, allocations: 105 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.2636, allocations: 104.1 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/0.2637, allocations: 184.2 kB / 0.8321 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.872e-05/0.2638, allocations: 180.3 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.211e-05/0.2638, allocations: 188.2 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.2641, allocations: 401.2 kB / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-05/0.2641, allocations: 101 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2642, allocations: 104.9 kB / 0.833 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.2643, allocations: 188.3 kB / 0.8332 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/0.2643, allocations: 180.5 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-05/0.2644, allocations: 184.2 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-05/0.2645, allocations: 184.2 kB / 0.8337 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.2646, allocations: 303.8 kB / 0.834 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.2647, allocations: 186 kB / 0.8342 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.2648, allocations: 184.2 kB / 0.8344 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.2649, allocations: 101 kB / 0.8345 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.265, allocations: 184.2 kB / 0.8347 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.265, allocations: 105 kB / 0.8348 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.2651, allocations: 75.28 kB / 0.8348 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2651, allocations: 0 / 0.8348 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000274/0.2654, allocations: 4 kB / 0.8348 GB, free: 8.828 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000161/0.2655, allocations: 178.6 kB / 0.835 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 4.846e-05/0.2656, allocations: 7.938 kB / 0.835 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2656, allocations: 3.938 kB / 0.835 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2656, allocations: 0 / 0.835 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.266, allocations: 463.6 kB / 0.8355 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.2662, allocations: 156.3 kB / 0.8356 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2666, allocations: 0.6766 MB / 0.8363 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.849e-06/0.2666, allocations: 0 / 0.8363 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2666, allocations: 7.438 kB / 0.8363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of SimCode: time 1.723e-06/0.2666, allocations: 0 / 0.8363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of Templates: time 0.002023/0.2686, allocations: 180.8 kB / 0.8364 GB, free: 7.105 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)