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.906/1.906, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.001241/0.001241, allocations: 188.9 kB / 371.8 MB, free: 10.24 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.867/1.867, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009704/0.0009704, allocations: 98.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004432, allocations: 21.7 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001176/0.3057, allocations: 415.2 kB / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.307, allocations: 0.801 MB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.3071, allocations: 4 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.3071, allocations: 3.938 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3073, allocations: 3.984 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.3074, allocations: 11.98 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.3075, allocations: 19.97 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3077, allocations: 12 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.3078, allocations: 15.92 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.3079, allocations: 19.91 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3079, allocations: 7.938 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.3079, allocations: 0 / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3079, allocations: 7.984 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.308, allocations: 33.64 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.075e-05/0.3081, allocations: 27.94 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3081, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.408e-06/0.3081, allocations: 8 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.3081, allocations: 0 / 0.9808 GB, free: 26.18 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.000638/0.3088, allocations: 359.5 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.3088, allocations: 16.02 kB / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.3089, allocations: 30.56 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.309, allocations: 7.906 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3091, allocations: 175 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3091, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3092, allocations: 8 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.3095, allocations: 73.59 kB / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3095, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3096, allocations: 8 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3096, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.31, allocations: 83.92 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.3105, allocations: 268.9 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3108, allocations: 74.47 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3108, allocations: 0 / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3109, allocations: 34.5 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3109, allocations: 0 / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007837/0.3117, allocations: 165.6 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3117, allocations: 55.39 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.3118, allocations: 113.8 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3118, allocations: 25.7 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.3119, allocations: 88.12 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3119, allocations: 7.906 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.3119, allocations: 3.938 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.312, allocations: 322.8 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3122, allocations: 39.95 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3124, allocations: 43.97 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3126, allocations: 43.95 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3126, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004411/0.3131, allocations: 121.5 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3131, allocations: 8 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3131, allocations: 0 / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3132, allocations: 0 / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3133, allocations: 19.98 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3134, allocations: 3.938 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3135, allocations: 27.97 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3135, allocations: 4 kB / 0.983 GB, free: 23.76 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 8.183e-05/0.3136, allocations: 113.7 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3137, allocations: 4 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.3142, allocations: 133.4 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3142, allocations: 0 / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3142, allocations: 4 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3142, allocations: 0 / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3144, allocations: 173.6 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3144, allocations: 0 / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.3146, allocations: 23.98 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3146, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3146, allocations: 4 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3146, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3146, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.3151, allocations: 227.4 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.3152, allocations: 89.38 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3152, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3153, allocations: 15.98 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.3154, allocations: 7.984 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3154, allocations: 0 / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.3155, allocations: 87.28 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3155, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003392/0.3158, allocations: 4 kB / 0.9838 GB, free: 22.8 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.0007363/0.3166, allocations: 0.7592 MB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.317, allocations: 87.92 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.317, allocations: 4 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.3173, allocations: 51.95 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3176, allocations: 4.516 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.3182, allocations: 162.3 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3184, allocations: 0.6848 MB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.3185, allocations: 0 / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.3185, allocations: 19.42 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.3185, allocations: 0 / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.3339, allocations: 1.275 MB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.3342, allocations: 198 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.939, allocations: 1.125 kB / 0.987 GB, free: 19.57 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)