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.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 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.001544/0.001544, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.001359/0.001359, allocations: 66.14 kB / 0.6716 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1931, allocations: 114.6 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002235/0.1954, allocations: 0.8064 MB / 0.7843 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1968, allocations: 1.153 MB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.1969, allocations: 3.938 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.1969, allocations: 7.938 kB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.197, allocations: 15.86 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1974, allocations: 133.6 kB / 0.7856 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1976, allocations: 155.7 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1977, allocations: 35.97 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.1978, allocations: 51.89 kB / 0.7858 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.1979, allocations: 55.81 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1979, allocations: 12 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.198, allocations: 31.92 kB / 0.7859 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.198, allocations: 23.92 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.1981, allocations: 55.77 kB / 0.786 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1983, allocations: 143.8 kB / 0.7861 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1983, allocations: 4 kB / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1983, allocations: 0 / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1983, allocations: 3.938 kB / 0.7861 GB, free: 10.79 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.0005272/0.1988, allocations: 433 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1989, allocations: 8.031 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1989, allocations: 38.75 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.199, allocations: 16.84 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.1991, allocations: 172.2 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1991, allocations: 12.36 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1991, allocations: 8.375 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1993, allocations: 90.16 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1993, allocations: 3.938 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1993, allocations: 0 / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1994, allocations: 4 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1996, allocations: 59.94 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.2, allocations: 392.4 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2002, allocations: 50.56 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.2003, allocations: 32.92 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.2003, allocations: 0 / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.2005, allocations: 95.23 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2005, allocations: 0 / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003838/0.2009, allocations: 121.6 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.201, allocations: 51.41 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.201, allocations: 129.7 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2011, allocations: 29.7 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.2011, allocations: 100 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.2012, allocations: 11.81 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.2012, allocations: 45.69 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.2013, allocations: 314.8 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2015, allocations: 51.95 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2017, allocations: 87.31 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.2019, allocations: 116.3 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2019, allocations: 0 / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004198/0.2023, allocations: 187.2 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.2024, allocations: 41.69 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2024, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2024, allocations: 3.938 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.2025, allocations: 16.05 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2025, allocations: 3.938 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2027, allocations: 43.92 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2028, allocations: 8 kB / 0.7888 GB, free: 7.785 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,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 8.262e-05/0.2029, allocations: 122.5 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2029, allocations: 11.91 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.2029, allocations: 8.375 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2029, allocations: 0 / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2029, allocations: 7.922 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2029, allocations: 320 / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2031, allocations: 189.6 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2031, allocations: 4 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.2031, allocations: 15.92 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2032, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2032, allocations: 3.938 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2032, allocations: 4 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2032, allocations: 3.938 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.2034, allocations: 125 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.2035, allocations: 77.11 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2035, allocations: 4 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.2036, allocations: 7.984 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2036, allocations: 19.92 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2036, allocations: 4 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.2037, allocations: 95.64 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2037, allocations: 0 / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002182/0.2039, allocations: 32.03 kB / 0.7895 GB, free: 6.969 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 (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.0004952/0.2044, allocations: 0.6632 MB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.2048, allocations: 171.3 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2048, allocations: 0 / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2049, allocations: 35.97 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.2051, allocations: 20.05 kB / 0.7903 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.207, allocations: 1.599 MB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2072, allocations: 0.6924 MB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.2072, allocations: 0 / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.2073, allocations: 27.42 kB / 0.7926 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2073, allocations: 4 kB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.2264, allocations: 2.767 MB / 0.7953 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.468, allocations: 5.328 kB / 0.7953 GB, free: 0.9375 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-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)