Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.971/2.971, allocations: 287.5 MB / 302.4 MB, free: 8.379 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.001277/0.001277, allocations: 182.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008892/0.0008886, allocations: 85.31 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 14.38 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0009248/0.216, allocations: 423 kB / 0.9789 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000948/0.217, allocations: 0.7971 MB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.2171, allocations: 3.938 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.2171, allocations: 7.984 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.2172, allocations: 3.938 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.891e-05/0.2173, allocations: 11.97 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.2174, allocations: 35.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.2175, allocations: 7.938 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.2176, allocations: 19.92 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.2176, allocations: 15.92 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2177, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.2177, allocations: 8 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2177, allocations: 11.92 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.2177, allocations: 29.7 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.004e-05/0.2178, allocations: 27.94 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2178, allocations: 0 / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2178, allocations: 0 / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2179, allocations: 0 / 0.9798 GB, free: 26.83 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.0005416/0.2184, allocations: 367.5 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2185, allocations: 12.02 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.2185, allocations: 42.55 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.2186, allocations: 3.906 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.973e-05/0.2187, allocations: 175 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2187, allocations: 3.938 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2187, allocations: 3.938 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.219, allocations: 81.66 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2191, allocations: 3.984 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2191, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2191, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.2196, allocations: 79.94 kB / 0.9806 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.22, allocations: 272.9 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.2203, allocations: 74.45 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.2206, allocations: 48.92 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2206, allocations: 0 / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2206, allocations: 34.55 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.2207, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008581/0.2215, allocations: 165.5 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2216, allocations: 55.34 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.2216, allocations: 113.8 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2217, allocations: 25.7 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.2217, allocations: 88.12 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2217, allocations: 7.906 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.2218, allocations: 4 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.2218, allocations: 318.8 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.2221, allocations: 39.95 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2223, allocations: 43.97 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.2226, allocations: 39.97 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2226, allocations: 7.984 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00053/0.2232, allocations: 121.5 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2232, allocations: 4 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2232, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2232, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2234, allocations: 23.92 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2234, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2236, allocations: 27.94 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2236, allocations: 0 / 0.982 GB, free: 24.36 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 6.989e-05/0.2237, allocations: 113.8 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.2238, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.2243, allocations: 137.4 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2244, allocations: 0 / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2244, allocations: 0 / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2244, allocations: 0 / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2246, allocations: 169.6 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2246, allocations: 4 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2247, allocations: 27.91 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2248, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2248, allocations: 3.938 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2248, allocations: 4 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2248, allocations: 0 / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.2254, allocations: 223.4 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.2254, allocations: 85.42 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2254, allocations: 0 / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2256, allocations: 15.98 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.2257, allocations: 4 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2257, allocations: 3.984 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.2258, allocations: 83.59 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2258, allocations: 4 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002729/0.226, allocations: 8 kB / 0.9829 GB, free: 23.39 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.0007813/0.2268, allocations: 0.7553 MB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005429/0.2274, allocations: 91.86 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2274, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.2277, allocations: 55.89 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.2281, allocations: 9.406 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.2286, allocations: 158.4 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2288, allocations: 0.6809 MB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.2288, allocations: 4 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.2289, allocations: 11.44 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.2289, allocations: 0 / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.2474, allocations: 1.294 MB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.2476, allocations: 192.6 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.708, allocations: 0 / 0.986 GB, free: 20.14 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)