Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 191.3 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 0.5777 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 91.89 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003491, allocations: 18.52 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2524, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001759/0.2543, allocations: 1.133 MB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.2546, allocations: 120.5 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.2547, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2547, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.2548, allocations: 7.938 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.2549, allocations: 7.984 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.255, allocations: 39.91 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2551, allocations: 15.92 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.2552, allocations: 8 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.2553, allocations: 19.91 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2553, allocations: 4 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.2553, allocations: 0 / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2553, allocations: 7.938 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2554, allocations: 33.64 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.695e-05/0.2554, allocations: 27.94 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2555, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2555, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2555, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 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.0004605/0.2559, allocations: 371.5 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.256, allocations: 8.031 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.256, allocations: 34.56 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2561, allocations: 4 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/0.2562, allocations: 178.9 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2562, allocations: 4 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2562, allocations: 0 / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2565, allocations: 81.64 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2565, allocations: 0 / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2565, allocations: 4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2565, allocations: 0 / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.2568, allocations: 91.91 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.2571, allocations: 268.9 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.2573, allocations: 70.48 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.2575, allocations: 48.91 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2575, allocations: 0 / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.2575, allocations: 42.56 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2575, allocations: 0 / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005515/0.2581, allocations: 157.5 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2581, allocations: 55.39 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.2582, allocations: 117.7 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2582, allocations: 33.7 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.2583, allocations: 87.98 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2583, allocations: 11.91 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.2583, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.2583, allocations: 310.8 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2585, allocations: 47.95 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.2586, allocations: 39.97 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2588, allocations: 43.95 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2588, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003023/0.2591, allocations: 117.6 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2591, allocations: 11.94 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2591, allocations: 3.938 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2592, allocations: 0 / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2593, allocations: 23.98 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2593, allocations: 3.984 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.2594, allocations: 19.94 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2594, allocations: 4 kB / 0.9039 GB, free: 59.87 MB / 0.6042 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 5.558e-05/0.2595, allocations: 105.8 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2595, allocations: 7.906 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.2599, allocations: 125.5 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2599, allocations: 8 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2599, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2599, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.26, allocations: 173.6 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.26, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.2601, allocations: 23.92 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2601, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.2601, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2601, allocations: 4 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2602, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.2605, allocations: 223.7 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.2605, allocations: 81.11 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2605, allocations: 48 / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2606, allocations: 19.97 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2607, allocations: 7.984 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2607, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.2607, allocations: 87.28 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2607, allocations: 0 / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001892/0.2609, allocations: 8 kB / 0.9047 GB, free: 58.9 MB / 0.6042 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.0005341/0.2615, allocations: 0.7552 MB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.2618, allocations: 95.92 kB / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2618, allocations: 0 / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.262, allocations: 51.89 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2623, allocations: 11.94 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.2627, allocations: 172.7 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2628, allocations: 0.6848 MB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.2628, allocations: 4 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2629, allocations: 11.44 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2629, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.274, allocations: 1.294 MB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.2742, allocations: 207.7 kB / 0.9079 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.843, allocations: 0 / 0.9079 GB, free: 55.65 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)