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.00151/0.001511, 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.002023/0.002023, allocations: 187.3 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.694/1.694, 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.002523/0.002523, allocations: 70.41 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2358, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002061/0.2379, allocations: 0.7098 MB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.2388, allocations: 0.8048 MB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.2389, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.2389, allocations: 3.938 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.239, allocations: 15.88 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.432e-05/0.2391, allocations: 7.984 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.2392, allocations: 43.91 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2393, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.2393, allocations: 23.92 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.2394, allocations: 19.91 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2394, allocations: 4 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.2394, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2395, allocations: 7.984 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2395, allocations: 27.86 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.2396, allocations: 35.88 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2396, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2396, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2396, allocations: 3.938 kB / 0.7853 GB, free: 11.5 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.0005232/0.2401, allocations: 363.5 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2402, allocations: 12.03 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.2402, allocations: 34.75 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.2403, allocations: 12.92 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2404, allocations: 168.2 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2404, allocations: 8.359 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2404, allocations: 384 / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2407, allocations: 66.22 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2407, allocations: 3.938 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2407, allocations: 0 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2407, allocations: 4 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.241, allocations: 71.86 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.2414, allocations: 272.9 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.2416, allocations: 58.53 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2417, allocations: 40.86 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.2418, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2418, allocations: 34.56 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2418, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005385/0.2424, allocations: 137.4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2424, allocations: 51.41 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.2425, allocations: 105.8 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2425, allocations: 25.7 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2426, allocations: 88.14 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.2426, allocations: 3.906 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.2426, allocations: 25.7 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2428, allocations: 310.8 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2429, allocations: 31.97 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.243, allocations: 31.95 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2433, allocations: 80.66 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2433, allocations: 0 / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003113/0.2437, allocations: 97.53 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2437, allocations: 4 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2437, allocations: 0 / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2437, allocations: 0 / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2438, allocations: 23.98 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2438, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.2439, allocations: 11.97 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.2439, allocations: 4 kB / 0.7874 GB, free: 9.125 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 7.839e-05/0.244, allocations: 110.4 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2441, allocations: 4 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.2441, allocations: 7.906 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2441, allocations: 7.938 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2441, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2441, allocations: 4.266 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2443, allocations: 177.5 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2443, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.2444, allocations: 15.98 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2444, allocations: 3.984 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.2444, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2444, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2444, allocations: 3.938 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.2448, allocations: 207.3 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2448, allocations: 77.11 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2449, allocations: 0 / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.245, allocations: 11.98 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.245, allocations: 8 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.245, allocations: 4 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.2451, allocations: 87.27 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2451, allocations: 0 / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002078/0.2453, allocations: 11.94 kB / 0.7881 GB, free: 8.301 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.0007638/0.2461, allocations: 0.7318 MB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.2464, allocations: 67.92 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2465, allocations: 8 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2466, allocations: 39.91 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2469, allocations: 10.39 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.2474, allocations: 151.1 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2477, allocations: 0.6807 MB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.2477, allocations: 4 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2478, allocations: 11.44 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.2478, allocations: 0 / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.2647, allocations: 1.616 MB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.92, allocations: 8 kB / 0.7914 GB, free: 4.984 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)