Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.167/2.167, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 177 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.584/2.584, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002547/0.002546, allocations: 102.2 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006546/0.0006549, allocations: 14.84 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2601, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001629/0.2618, allocations: 1.139 MB / 0.9006 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.2623, allocations: 133.7 kB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.2624, allocations: 3.938 kB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.2624, allocations: 3.938 kB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.2625, allocations: 11.92 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.2626, allocations: 8 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.2627, allocations: 39.91 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2629, allocations: 19.97 kB / 0.9008 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.2629, allocations: 15.94 kB / 0.9008 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.263, allocations: 11.92 kB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.263, allocations: 0 / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.263, allocations: 4 kB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2631, allocations: 7.984 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.2631, allocations: 33.64 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.075e-05/0.2632, allocations: 27.92 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2632, allocations: 0 / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2632, allocations: 3.938 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2632, allocations: 0 / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007526/0.264, allocations: 395.6 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.264, allocations: 8.031 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2641, allocations: 8.844 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.929e-05/0.2642, allocations: 164.4 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2642, allocations: 8.375 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.2642, allocations: 384 / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2645, allocations: 66.23 kB / 0.9016 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2645, allocations: 8.172 kB / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2645, allocations: 7.938 kB / 0.9016 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2646, allocations: 0 / 0.9016 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.2649, allocations: 59.89 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.2655, allocations: 300.7 kB / 0.9019 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.2659, allocations: 66.48 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2661, allocations: 36.98 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2661, allocations: 0 / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2661, allocations: 30.56 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.2661, allocations: 0 / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005614/0.2667, allocations: 113.5 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.2668, allocations: 51.41 kB / 0.9022 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.2668, allocations: 113.8 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2669, allocations: 37.64 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.2669, allocations: 92.14 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.2669, allocations: 11.89 kB / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.267, allocations: 0 / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.267, allocations: 314.8 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2672, allocations: 27.97 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2674, allocations: 27.98 kB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2675, allocations: 23.92 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2675, allocations: 0 / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003556/0.2679, allocations: 89.66 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2679, allocations: 7.984 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.268, allocations: 0 / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.268, allocations: 0 / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2681, allocations: 15.94 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2681, allocations: 3.938 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2683, allocations: 31.88 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2684, allocations: 4 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.2685, allocations: 109.8 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.2685, allocations: 4 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.2689, allocations: 93.55 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2689, allocations: 0 / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2689, allocations: 0 / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.269, allocations: 85.39 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.269, allocations: 0 / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.2692, allocations: 23.97 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.2693, allocations: 15.92 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005087/0.2698, allocations: 188.8 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000388/0.2702, allocations: 250.8 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001655/0.2704, allocations: 27.97 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.2705, allocations: 87.66 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of Backend: time 1.543e-06/0.2705, allocations: 0 / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.271, allocations: 114.3 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004836/0.2715, allocations: 0.5917 MB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.00352/0.2751, allocations: 0.7225 MB / 0.9052 GB, free: 59.36 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)