Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.4 MB / 304.3 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001088, allocations: 185.7 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 0.6316 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007545/0.0007542, allocations: 94.31 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 17.5 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2605, allocations: 115.3 MB / 0.9808 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001098/0.2616, allocations: 486.3 kB / 0.9812 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2634, allocations: 1.313 MB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.2635, allocations: 4 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2635, allocations: 3.938 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.2636, allocations: 15.86 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.2644, allocations: 270.5 kB / 0.9828 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2646, allocations: 291.6 kB / 0.9831 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2647, allocations: 60.81 kB / 0.9831 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2648, allocations: 127.8 kB / 0.9832 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.265, allocations: 111.6 kB / 0.9833 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.265, allocations: 20 kB / 0.9834 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.2651, allocations: 27.98 kB / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.2652, allocations: 55.84 kB / 0.9834 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.2653, allocations: 137.3 kB / 0.9836 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.2655, allocations: 251.6 kB / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2655, allocations: 0 / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2656, allocations: 0 / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2656, allocations: 0 / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004983/0.2661, allocations: 478.5 kB / 0.9843 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2661, allocations: 8.031 kB / 0.9843 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.2662, allocations: 28.83 kB / 0.9843 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.2667, allocations: 268.2 kB / 0.9846 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.2668, allocations: 28.36 kB / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2668, allocations: 32.36 kB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.2671, allocations: 215.3 kB / 0.9848 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2671, allocations: 3.938 kB / 0.9848 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2672, allocations: 19.95 kB / 0.9848 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2672, allocations: 4 kB / 0.9849 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2673, allocations: 87.89 kB / 0.9849 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.268, allocations: 0.578 MB / 0.9855 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2684, allocations: 254.6 kB / 0.9857 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.2685, allocations: 110.5 kB / 0.9858 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2685, allocations: 4 kB / 0.9859 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/0.2692, allocations: 0.5375 MB / 0.9864 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.2692, allocations: 0 / 0.9864 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0007656/0.2699, allocations: 0.5634 MB / 0.9869 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.27, allocations: 59.41 kB / 0.987 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.2701, allocations: 155.2 kB / 0.9871 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.2701, allocations: 61.69 kB / 0.9872 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.2702, allocations: 112.9 kB / 0.9873 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.2703, allocations: 98.84 kB / 0.9874 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.2703, allocations: 16 kB / 0.9874 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.2704, allocations: 330.8 kB / 0.9877 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.2707, allocations: 185.1 kB / 0.9879 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.271, allocations: 289.8 kB / 0.9882 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.2713, allocations: 369.1 kB / 0.9885 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2713, allocations: 0 / 0.9885 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006778/0.272, allocations: 0.5604 MB / 0.9891 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.2721, allocations: 67.77 kB / 0.9891 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2721, allocations: 8 kB / 0.9891 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2721, allocations: 8 kB / 0.9892 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.2722, allocations: 23.86 kB / 0.9892 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2722, allocations: 11.94 kB / 0.9892 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2726, allocations: 99.62 kB / 0.9893 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.2726, allocations: 27.98 kB / 0.9893 GB, free: 18.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.y,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.togInp.y,togInp.y,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001449/0.2728, allocations: 186.9 kB / 0.9895 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.2728, allocations: 27.72 kB / 0.9895 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.2729, allocations: 42.3 kB / 0.9896 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2729, allocations: 0 / 0.9896 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2729, allocations: 7.875 kB / 0.9896 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.2729, allocations: 88.92 kB / 0.9896 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.273, allocations: 27.98 kB / 0.9897 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.2731, allocations: 11.98 kB / 0.9897 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.2733, allocations: 103.8 kB / 0.9898 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005616/0.2738, allocations: 0.5176 MB / 0.9903 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005346/0.2744, allocations: 0.6196 MB / 0.9909 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002173/0.2746, allocations: 228.3 kB / 0.9911 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.2746, allocations: 100.8 kB / 0.9912 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of Backend: time 8.42e-07/0.2746, allocations: 0 / 0.9912 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008531/0.2755, allocations: 0.5284 MB / 0.9917 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007298/0.2762, allocations: 0.8078 MB / 0.9925 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.007399/0.2837, allocations: 4.563 MB / 0.997 GB, free: 10.29 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)