Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.643/2.643, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001406/0.001406, allocations: 175.2 kB / 371 MB, free: 10.89 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.097/2.097, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009853/0.0009853, allocations: 93.03 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007596/0.0007601, allocations: 14.56 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2608, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001015/0.2619, allocations: 419 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2629, allocations: 0.801 MB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.263, allocations: 3.938 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.263, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.2631, allocations: 7.938 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.496e-05/0.2632, allocations: 11.98 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.2633, allocations: 31.86 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2634, allocations: 16 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.2634, allocations: 15.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.2635, allocations: 19.91 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2635, allocations: 4 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.2636, allocations: 0 / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2636, allocations: 7.922 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.2636, allocations: 33.7 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.292e-05/0.2637, allocations: 23.94 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2637, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2637, allocations: 8 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2637, allocations: 0 / 0.9798 GB, free: 26.85 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.0005676/0.2643, allocations: 367.5 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2644, allocations: 12.02 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.2644, allocations: 30.56 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.2645, allocations: 15.91 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2646, allocations: 167 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2646, allocations: 4 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2646, allocations: 0 / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.265, allocations: 85.58 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.265, allocations: 4 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.265, allocations: 0 / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2651, allocations: 0 / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.2656, allocations: 87.92 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.2659, allocations: 260.9 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2662, allocations: 70.47 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.2665, allocations: 44.92 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2665, allocations: 4 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.2666, allocations: 42.55 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.2666, allocations: 3.938 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.00083/0.2674, allocations: 157.5 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2674, allocations: 59.34 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.2675, allocations: 113.8 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.2675, allocations: 25.7 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.2676, allocations: 88.12 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2676, allocations: 7.906 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2676, allocations: 3.938 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.2677, allocations: 314.8 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.268, allocations: 47.95 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2682, allocations: 39.97 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.2685, allocations: 39.97 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2685, allocations: 0 / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005299/0.269, allocations: 125.8 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.269, allocations: 4 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2691, allocations: 3.984 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2691, allocations: 4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.2693, allocations: 27.92 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.2693, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.2695, allocations: 19.94 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.2695, allocations: 4 kB / 0.982 GB, free: 24.39 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.822e-05/0.2696, allocations: 115.1 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.2696, allocations: 8 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2696, allocations: 3.906 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2696, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2697, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2697, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2698, allocations: 181.4 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2699, allocations: 0 / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.27, allocations: 23.97 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.27, allocations: 4 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2701, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2701, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2701, allocations: 4 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.2707, allocations: 219.4 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.2707, allocations: 77.11 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.2707, allocations: 3.984 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2709, allocations: 19.98 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.271, allocations: 4 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.271, allocations: 4 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.271, allocations: 83.27 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.271, allocations: 0 / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002955/0.2713, allocations: 19.84 kB / 0.9828 GB, free: 23.54 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.0007842/0.2721, allocations: 0.7514 MB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.2727, allocations: 95.86 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2727, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.273, allocations: 39.97 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2734, allocations: 11.98 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.2739, allocations: 154.4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2741, allocations: 0.6848 MB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.037e-05/0.2741, allocations: 7.984 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.2742, allocations: 15.44 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.2742, allocations: 0 / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.2935, allocations: 1.303 MB / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2938, allocations: 193.4 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/2.876, allocations: 0 / 0.9859 GB, free: 20.29 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)