Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.00179/0.00179, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.000583/0.0005831, allocations: 21.5 kB / 0.6738 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3407, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001265/0.342, allocations: 0.5179 MB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3437, allocations: 1.137 MB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.3437, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.3438, allocations: 3.938 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.3439, allocations: 3.938 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.3444, allocations: 127 kB / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3445, allocations: 119.7 kB / 0.7893 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3447, allocations: 19.97 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3448, allocations: 43.91 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3449, allocations: 47.81 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3449, allocations: 4 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.345, allocations: 19.98 kB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.345, allocations: 11.94 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.3451, allocations: 37.7 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3453, allocations: 112 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3453, allocations: 0 / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.011e-06/0.3453, allocations: 0 / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3453, allocations: 3.938 kB / 0.7896 GB, free: 9.633 MB / 0.6075 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.0007178/0.346, allocations: 424.8 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3461, allocations: 8.031 kB / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.3462, allocations: 38.56 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.3462, allocations: 15.89 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3464, allocations: 171 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3464, allocations: 4 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.3464, allocations: 12 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.3467, allocations: 93.64 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3467, allocations: 0 / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3467, allocations: 0 / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3467, allocations: 4 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.3469, allocations: 67.89 kB / 0.7904 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.3476, allocations: 396.4 kB / 0.7907 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3478, allocations: 74.47 kB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.3479, allocations: 28.94 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3479, allocations: 4 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.3482, allocations: 91.31 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3482, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004298/0.3486, allocations: 149.5 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3487, allocations: 51.41 kB / 0.7911 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3488, allocations: 121.8 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3488, allocations: 33.7 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3489, allocations: 92.05 kB / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3489, allocations: 19.8 kB / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.3489, allocations: 0 / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3491, allocations: 318.8 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3492, allocations: 63.95 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3494, allocations: 79.39 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3496, allocations: 85.59 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3496, allocations: 0 / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004171/0.35, allocations: 211.2 kB / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.35, allocations: 37.7 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3501, allocations: 7.938 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3501, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.3502, allocations: 8 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3502, allocations: 4 kB / 0.7922 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3504, allocations: 55.94 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3505, allocations: 4 kB / 0.7922 GB, free: 6.648 MB / 0.6075 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3506, allocations: 125.8 kB / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.3506, allocations: 7.906 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3506, allocations: 16.36 kB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3506, allocations: 7.891 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3507, allocations: 4 kB / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3507, allocations: 0 / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3508, allocations: 185.6 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3508, allocations: 0 / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.3509, allocations: 8.312 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3509, allocations: 0 / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3509, allocations: 11.98 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3509, allocations: 80 / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3509, allocations: 11.94 kB / 0.7926 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3512, allocations: 129.1 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3513, allocations: 85.03 kB / 0.7928 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3513, allocations: 8 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.3514, allocations: 11.98 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.3514, allocations: 15.94 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3514, allocations: 7.938 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.3515, allocations: 91.7 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3515, allocations: 0 / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002211/0.3517, allocations: 27.91 kB / 0.7929 GB, free: 5.812 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005822/0.3523, allocations: 0.6748 MB / 0.7936 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.3527, allocations: 183.3 kB / 0.7938 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3527, allocations: 0 / 0.7938 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3528, allocations: 44.09 kB / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.3531, allocations: 18.98 kB / 0.7938 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3543, allocations: 0.6907 MB / 0.7945 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3546, allocations: 0.6926 MB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.3546, allocations: 8.172 kB / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.3547, allocations: 15.66 kB / 0.7952 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3547, allocations: 4 kB / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.3709, allocations: 2.4 MB / 0.7975 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.3712, allocations: 197.8 kB / 0.7977 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.229, allocations: 0 / 0.7977 GB, free: 0.9062 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) Environment - environmentSimulation: