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.Average.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.Average,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009939/0.0009938, allocations: 170 kB / 327 MB, free: 2.078 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.759/1.759, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007664/0.0007665, allocations: 83.72 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 11.19 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2704, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001887/0.2723, allocations: 1.145 MB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003257/0.2727, allocations: 112.5 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.2727, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.2728, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.2729, allocations: 11.92 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.971e-05/0.273, allocations: 12 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.2731, allocations: 47.78 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2732, allocations: 7.984 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.2733, allocations: 11.98 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.2733, allocations: 23.86 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2734, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.2734, allocations: 4 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2734, allocations: 11.98 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.2735, allocations: 41.58 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.15e-05/0.2736, allocations: 39.8 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2736, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2736, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2736, allocations: 0 / 0.9024 GB, free: 61.89 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.0005811/0.2742, allocations: 371.7 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.2743, allocations: 8.031 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.2743, allocations: 30.75 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2744, allocations: 8.922 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2745, allocations: 168.3 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2745, allocations: 4.375 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2746, allocations: 8.312 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2749, allocations: 78.22 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2749, allocations: 3.938 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2749, allocations: 0 / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.275, allocations: 0 / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.2754, allocations: 87.92 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.2758, allocations: 272.9 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2761, allocations: 70.47 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.2763, allocations: 52.92 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2763, allocations: 0 / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2764, allocations: 34.55 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.2764, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006785/0.2771, allocations: 165.5 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2771, allocations: 59.34 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.2772, allocations: 109.8 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2772, allocations: 25.7 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2773, allocations: 88.08 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2773, allocations: 7.906 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2774, allocations: 0 / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.2775, allocations: 318.8 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2776, allocations: 39.97 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.2778, allocations: 47.95 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.2782, allocations: 88.73 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2782, allocations: 3.938 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002938/0.2785, allocations: 129.5 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2785, allocations: 8 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2785, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2785, allocations: 4 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2787, allocations: 27.98 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2787, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.2788, allocations: 15.98 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2788, allocations: 3.938 kB / 0.9046 GB, free: 59.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.2788, allocations: 113.8 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2789, allocations: 4 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.2789, allocations: 11.91 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2789, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2789, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2789, allocations: 4 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.2791, allocations: 165.6 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2791, allocations: 4 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.2792, allocations: 19.97 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2792, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.2792, allocations: 8 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2792, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2792, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.2795, allocations: 223.3 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.2796, allocations: 81.09 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2796, allocations: 0 / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2797, allocations: 19.98 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.2798, allocations: 4 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2798, allocations: 0 / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.2798, allocations: 91.27 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2798, allocations: 0 / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002029/0.28, allocations: 4 kB / 0.9053 GB, free: 58.53 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 (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.0006281/0.2807, allocations: 0.7595 MB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.281, allocations: 95.95 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.281, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.2811, allocations: 39.97 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2815, allocations: 22.5 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.2819, allocations: 166.2 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.282, allocations: 0.6848 MB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.282, allocations: 0 / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.2821, allocations: 23.42 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2821, allocations: 0 / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.2926, allocations: 1.308 MB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.2928, allocations: 222.1 kB / 0.9086 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.05, allocations: 0 / 0.9086 GB, free: 55.24 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)