Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0009456/0.0009457, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.008636/0.008636, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 7.594 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0009665/0.3188, allocations: 0.5242 MB / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3202, allocations: 1.162 MB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.3203, allocations: 4 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.3203, allocations: 7.922 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.3204, allocations: 3.938 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.3208, allocations: 119.3 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3209, allocations: 135.7 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3211, allocations: 39.95 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.3212, allocations: 47.83 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.3213, allocations: 43.77 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3213, allocations: 4 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.3213, allocations: 19.98 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.3214, allocations: 15.92 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.3215, allocations: 65.55 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.3216, allocations: 139.8 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.3216, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3217, allocations: 4 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3217, allocations: 0 / 1.076 GB, free: 5.219 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.0005579/0.3222, allocations: 421 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3223, allocations: 8.031 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.3223, allocations: 12.84 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3224, allocations: 180.1 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3225, allocations: 16.36 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.3225, allocations: 8.375 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3227, allocations: 86.22 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.3228, allocations: 192 / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3228, allocations: 3.938 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3228, allocations: 0 / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.323, allocations: 83.88 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.3236, allocations: 388.6 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.3237, allocations: 54.5 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3238, allocations: 36.92 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.3239, allocations: 4 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3241, allocations: 91.36 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3241, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004395/0.3245, allocations: 145.5 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3246, allocations: 51.41 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3247, allocations: 129.7 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3247, allocations: 29.7 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3248, allocations: 108 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3248, allocations: 15.81 kB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3249, allocations: 21.7 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.325, allocations: 314.8 kB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3252, allocations: 59.95 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3254, allocations: 87.39 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3256, allocations: 132.2 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3257, allocations: 0 / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004259/0.3261, allocations: 199.3 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3261, allocations: 41.62 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3261, allocations: 4.062 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.3262, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.3262, allocations: 11.98 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3263, allocations: 4 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3265, allocations: 59.89 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3266, allocations: 7.984 kB / 1.079 GB, free: 2.188 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.0001055/0.3267, allocations: 125.7 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.3267, allocations: 7.906 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.3267, allocations: 8.375 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3267, allocations: 4 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3267, allocations: 320 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3267, allocations: 7.938 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.3269, allocations: 193.6 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3269, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.327, allocations: 11.98 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.327, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.327, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.327, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.327, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.3273, allocations: 144.9 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3273, allocations: 85.02 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3274, allocations: 4 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.3274, allocations: 15.98 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3275, allocations: 15.92 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3275, allocations: 3.984 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.3276, allocations: 99.2 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3276, allocations: 4 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002152/0.3278, allocations: 20 kB / 1.08 GB, free: 1.355 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.000126/0.3279, allocations: 99.25 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003827/0.3283, allocations: 183.3 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3283, allocations: 0 / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3285, allocations: 44.11 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3287, allocations: 13.3 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.3291, allocations: 205.2 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3293, allocations: 0.6965 MB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.3294, allocations: 4 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.3294, allocations: 11.44 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3294, allocations: 0 / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of Templates: time 0.00394/0.3333, allocations: 1.463 MB / 1.082 GB, free: 14.6 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)