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.001662/0.001662, allocations: 109.4 kB / 15.69 MB, free: 128 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.002009/0.002009, allocations: 188 kB / 16.62 MB, free: 6.582 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.981/1.981, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001459/0.001459, allocations: 68.02 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2816, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.003049/0.2847, allocations: 0.8167 MB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2867, allocations: 1.153 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.2868, allocations: 0 / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.2869, allocations: 7.938 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.287, allocations: 7.875 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.2876, allocations: 138.9 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.2879, allocations: 155.7 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.288, allocations: 39.97 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2882, allocations: 55.89 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2883, allocations: 51.81 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.2884, allocations: 12 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.2885, allocations: 31.98 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.2885, allocations: 23.84 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.2886, allocations: 55.78 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2888, allocations: 155.8 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2889, allocations: 0 / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2889, allocations: 0 / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.2889, allocations: 0 / 0.7863 GB, free: 10.54 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.0009694/0.2899, allocations: 433 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.2899, allocations: 12.03 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.29, allocations: 34.73 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.29, allocations: 12.84 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.2903, allocations: 180.2 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2903, allocations: 8.375 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.2904, allocations: 12.38 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.2907, allocations: 94.14 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2908, allocations: 3.938 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2908, allocations: 4 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2908, allocations: 0 / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.291, allocations: 55.95 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.2918, allocations: 388.4 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.292, allocations: 54.55 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2921, allocations: 28.94 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2922, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.2925, allocations: 91.3 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.2925, allocations: 4 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004538/0.293, allocations: 121.6 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.293, allocations: 55.41 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2932, allocations: 129.6 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.2932, allocations: 33.7 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.2933, allocations: 96.03 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.2933, allocations: 23.8 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.2934, allocations: 37.7 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2936, allocations: 314.8 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.2937, allocations: 51.97 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.2939, allocations: 83.33 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2942, allocations: 116.3 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2942, allocations: 0 / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004494/0.2947, allocations: 191.2 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.2947, allocations: 34.73 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2947, allocations: 8 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.952e-05/0.2948, allocations: 7.984 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2949, allocations: 11.88 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2949, allocations: 3.938 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.2952, allocations: 43.89 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2952, allocations: 7.984 kB / 0.7889 GB, free: 7.527 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 0.0001072/0.2953, allocations: 121.8 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.2953, allocations: 7.906 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.2954, allocations: 8.375 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2954, allocations: 4 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2954, allocations: 7.922 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.2954, allocations: 3.984 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2956, allocations: 189.6 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2956, allocations: 0 / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.2957, allocations: 7.984 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2957, allocations: 0 / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2957, allocations: 8 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2957, allocations: 0 / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2957, allocations: 7.875 kB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.296, allocations: 121.4 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.2962, allocations: 85.11 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2962, allocations: 3.984 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.2963, allocations: 12 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2964, allocations: 19.91 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2964, allocations: 0 / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.2964, allocations: 99.27 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2964, allocations: 0 / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000243/0.2967, allocations: 23.91 kB / 0.7896 GB, free: 6.715 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.0007164/0.2974, allocations: 0.6632 MB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.2979, allocations: 167.3 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2979, allocations: 0 / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.298, allocations: 36.11 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.2983, allocations: 19.86 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.3009, allocations: 1.604 MB / 0.7921 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3013, allocations: 0.6924 MB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.3013, allocations: 0 / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.3014, allocations: 27.42 kB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of SimCode: time 1.303e-06/0.3014, allocations: 0 / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3293, allocations: 2.79 MB / 0.7955 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.448, allocations: 7.469 kB / 0.7955 GB, free: 0.6758 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)