Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.498/1.498, allocations: 288.4 MB / 303.6 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 190.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006961/0.0006959, allocations: 94.36 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 17.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0006268/0.1443, allocations: 419.2 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.145, allocations: 0.801 MB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.145, allocations: 3.938 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.1451, allocations: 3.938 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.1451, allocations: 0 / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.599e-05/0.1452, allocations: 15.98 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.1453, allocations: 35.86 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.1454, allocations: 19.98 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.1454, allocations: 11.92 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.1455, allocations: 19.91 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1455, allocations: 4 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1455, allocations: 0 / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1455, allocations: 8 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.1455, allocations: 41.56 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.589e-05/0.1456, allocations: 27.94 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1456, allocations: 4 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1456, allocations: 0 / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.1456, allocations: 0 / 0.9816 GB, free: 25.78 MB / 0.6198 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.0003771/0.146, allocations: 363.7 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.146, allocations: 8.031 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.1461, allocations: 34.75 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.1461, allocations: 12.83 kB / 0.982 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.324e-05/0.1462, allocations: 164.3 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.1462, allocations: 4.375 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-06/0.1462, allocations: 4.375 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1464, allocations: 82.22 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1464, allocations: 3.938 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.1464, allocations: 0 / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1464, allocations: 0 / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.1467, allocations: 91.86 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.1469, allocations: 276.7 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1471, allocations: 70.53 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1473, allocations: 48.92 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1473, allocations: 4 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.1473, allocations: 34.5 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1473, allocations: 0 / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004758/0.1478, allocations: 161.7 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.1478, allocations: 55.41 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.1479, allocations: 113.8 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.1479, allocations: 29.7 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.1479, allocations: 80.14 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.1479, allocations: 19.8 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.148, allocations: 0 / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.148, allocations: 310.8 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1481, allocations: 43.97 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1483, allocations: 47.89 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1485, allocations: 96.72 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1485, allocations: 0 / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002841/0.1488, allocations: 117.6 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1489, allocations: 4 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1489, allocations: 4 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.1489, allocations: 0 / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.149, allocations: 15.98 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.149, allocations: 4 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.1491, allocations: 27.97 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1491, allocations: 0 / 0.9838 GB, free: 23.27 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.1491, allocations: 119 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1492, allocations: 7.906 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.1495, allocations: 129.5 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1495, allocations: 4 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1495, allocations: 0 / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1495, allocations: 0 / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1497, allocations: 177.6 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1497, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1498, allocations: 19.98 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1498, allocations: 0 / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1498, allocations: 0 / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1498, allocations: 0 / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1498, allocations: 0 / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1502, allocations: 227.3 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.1502, allocations: 85.02 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1502, allocations: 0 / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1503, allocations: 23.92 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1504, allocations: 3.984 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1504, allocations: 3.938 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.1504, allocations: 87.28 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1504, allocations: 4 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002007/0.1506, allocations: 4 kB / 0.9847 GB, free: 22.29 MB / 0.6198 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 (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.0005299/0.1512, allocations: 0.7517 MB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1515, allocations: 91.92 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1515, allocations: 0 / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1517, allocations: 52.03 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.152, allocations: 9.875 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.1523, allocations: 170.2 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.821e-05/0.1524, allocations: 0.6809 MB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.1524, allocations: 0 / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1525, allocations: 15.44 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1525, allocations: 0 / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3052/0.4577, allocations: 1.276 MB / 0.9876 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.4579, allocations: 199.5 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.967, allocations: 0 / 0.9878 GB, free: 19.07 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)