Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 196.4 kB / 16.53 MB, free: 6.699 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 77.06 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002174/0.2694, allocations: 0.7994 MB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2709, allocations: 1.162 MB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.271, allocations: 0 / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.271, allocations: 3.938 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.2711, allocations: 11.86 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.2716, allocations: 143.1 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.2718, allocations: 151.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2719, allocations: 31.95 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.272, allocations: 67.77 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.2721, allocations: 55.81 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.2721, allocations: 16 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.345e-05/0.2722, allocations: 23.98 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.2722, allocations: 19.94 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/0.2723, allocations: 51.77 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.2725, allocations: 147.9 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2726, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2726, allocations: 3.938 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2726, allocations: 0 / 1.071 GB, free: 7.773 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006092/0.2732, allocations: 432.9 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2732, allocations: 12.03 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.2733, allocations: 12.84 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2734, allocations: 180.2 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2734, allocations: 8.375 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2735, allocations: 12.38 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.2737, allocations: 86.2 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2737, allocations: 192 / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2737, allocations: 3.938 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2737, allocations: 8 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.274, allocations: 51.95 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.2745, allocations: 384.5 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.2747, allocations: 58.55 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2748, allocations: 28.94 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.2748, allocations: 3.938 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.2751, allocations: 83.36 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.2751, allocations: 4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004234/0.2755, allocations: 125.5 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2756, allocations: 51.41 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2757, allocations: 141.5 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2757, allocations: 37.64 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2758, allocations: 92.05 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2758, allocations: 19.89 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.2759, allocations: 37.7 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.276, allocations: 318.8 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.2762, allocations: 47.97 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.2764, allocations: 75.39 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.2766, allocations: 128.2 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2766, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004143/0.2771, allocations: 195.2 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.2771, allocations: 37.7 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2771, allocations: 4.062 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2771, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.2772, allocations: 11.98 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2772, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.2775, allocations: 47.83 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2775, allocations: 7.984 kB / 1.073 GB, free: 4.809 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: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 0.0001043/0.2776, allocations: 130.3 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.2777, allocations: 4 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.2777, allocations: 8.375 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2777, allocations: 3.938 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2777, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2777, allocations: 8.234 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2779, allocations: 185.5 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2779, allocations: 4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.2779, allocations: 11.98 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.278, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.278, allocations: 4 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.278, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.278, allocations: 7.984 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.2783, allocations: 121 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2783, allocations: 85.02 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2783, allocations: 4 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.2784, allocations: 11.98 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.2785, allocations: 19.91 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2785, allocations: 11.88 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.2786, allocations: 91.27 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2786, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002263/0.2788, allocations: 24 kB / 1.074 GB, free: 3.992 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001425/0.2789, allocations: 103.2 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2793, allocations: 171.4 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2794, allocations: 4 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2795, allocations: 35.97 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2797, allocations: 13.72 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.2801, allocations: 187 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.2803, allocations: 0.6924 MB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.2804, allocations: 4 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.2804, allocations: 11.38 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2804, allocations: 11.94 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.003966/0.2844, allocations: 1.634 MB / 1.077 GB, free: 1.086 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)