Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.00148/0.00148, 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.001532/0.001531, allocations: 197 kB / 16.53 MB, free: 6.664 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.435/1.435, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001694/0.001694, allocations: 70.92 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2544, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002029/0.2565, allocations: 0.7063 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.2574, allocations: 0.8009 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.2574, allocations: 7.875 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.2574, allocations: 3.938 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.2575, allocations: 7.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.83e-05/0.2576, allocations: 11.97 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.2577, allocations: 39.92 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2578, allocations: 12 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.2579, allocations: 19.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.2579, allocations: 23.91 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2579, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.2579, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.258, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.258, allocations: 23.84 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.005e-05/0.2581, allocations: 39.88 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2581, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2581, allocations: 3.938 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2581, allocations: 0 / 0.7852 GB, free: 11.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005269/0.2587, allocations: 363.6 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2587, allocations: 8.031 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.2588, allocations: 42.73 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.2588, allocations: 0.9375 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2589, allocations: 176.2 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.2589, allocations: 384 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.259, allocations: 384 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2592, allocations: 74.22 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2592, allocations: 3.938 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2592, allocations: 3.984 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2593, allocations: 0 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.2595, allocations: 63.88 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.26, allocations: 272.9 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.2602, allocations: 50.53 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2603, allocations: 36.92 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.2604, allocations: 4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2604, allocations: 34.56 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 3.757e-06/0.2604, allocations: 3.938 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005417/0.2609, allocations: 133.4 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.261, allocations: 55.41 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.2611, allocations: 109.8 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2611, allocations: 25.7 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.2612, allocations: 84.14 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2612, allocations: 15.88 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.2612, allocations: 13.72 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2614, allocations: 314.8 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2615, allocations: 39.89 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2617, allocations: 27.97 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.2619, allocations: 76.94 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2619, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003117/0.2623, allocations: 105.5 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2623, allocations: 4.938 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2623, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2623, allocations: 4 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.2624, allocations: 11.98 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2625, allocations: 3.984 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.2625, allocations: 15.98 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2626, allocations: 0 / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.395e-05/0.2626, allocations: 117.8 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.2627, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2627, allocations: 11.91 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2627, allocations: 3.938 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2627, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2627, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2629, allocations: 177.5 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2629, allocations: 4 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.263, allocations: 11.98 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.2631, allocations: 8 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2631, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2631, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2631, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.2635, allocations: 199.3 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.2635, allocations: 77.11 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.2636, allocations: 8 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2637, allocations: 11.92 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2637, allocations: 7.984 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2637, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.2638, allocations: 91.22 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2638, allocations: 4 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000212/0.264, allocations: 4 kB / 0.788 GB, free: 8.426 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000662/0.2647, allocations: 0.7318 MB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.265, allocations: 75.86 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.265, allocations: 0 / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.2652, allocations: 35.95 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2655, allocations: 16.48 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.266, allocations: 151.1 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2662, allocations: 0.6807 MB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2663, allocations: 0 / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.2663, allocations: 19.44 kB / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2663, allocations: 0 / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.285, allocations: 1.604 MB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.818, allocations: 17.94 kB / 0.7912 GB, free: 5.094 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)