Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 0.549 GB, free: 12.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 73.66 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3115, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002521/0.3141, allocations: 0.706 MB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3152, allocations: 0.8048 MB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.3154, allocations: 0 / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3154, allocations: 7.922 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.3155, allocations: 15.88 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.3156, allocations: 7.984 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3157, allocations: 43.91 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3159, allocations: 11.98 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.316, allocations: 19.92 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.316, allocations: 15.92 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3161, allocations: 4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.3161, allocations: 4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3161, allocations: 11.98 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3162, allocations: 19.88 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3164, allocations: 39.86 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3164, allocations: 7.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3164, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3164, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 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.0006476/0.3171, allocations: 367.6 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3171, allocations: 8.031 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.3172, allocations: 34.75 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.3172, allocations: 12.88 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3174, allocations: 168.2 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3174, allocations: 4.375 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.3174, allocations: 384 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3177, allocations: 70.2 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3177, allocations: 3.938 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3178, allocations: 4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3178, allocations: 3.984 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.3181, allocations: 71.86 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.3184, allocations: 264.9 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3187, allocations: 50.55 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3188, allocations: 48.84 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3189, allocations: 0 / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3189, allocations: 38.5 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3189, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005625/0.3195, allocations: 133.5 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3195, allocations: 51.41 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.3196, allocations: 109.8 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3196, allocations: 29.7 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3197, allocations: 84.14 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3197, allocations: 3.906 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.3198, allocations: 21.72 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3199, allocations: 314.8 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.32, allocations: 31.97 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3202, allocations: 31.95 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3204, allocations: 76.67 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3204, allocations: 0 / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003936/0.3208, allocations: 101.5 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3209, allocations: 4 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3209, allocations: 0 / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3209, allocations: 0 / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.321, allocations: 19.98 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.321, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.3211, allocations: 15.98 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3211, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 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 7.204e-05/0.3212, allocations: 117.8 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3212, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.3216, allocations: 117.4 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3216, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3217, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3217, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3219, allocations: 177.6 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3219, allocations: 3.938 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.322, allocations: 19.97 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.322, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.322, allocations: 4.375 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.322, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.322, allocations: 3.938 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3224, allocations: 207.2 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3224, allocations: 81.09 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3225, allocations: 4 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3226, allocations: 11.98 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3226, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3226, allocations: 4 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.3227, allocations: 87.27 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3227, allocations: 0 / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002237/0.3229, allocations: 8 kB / 0.7882 GB, free: 8.176 MB / 0.6075 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.0007484/0.3237, allocations: 0.7357 MB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.324, allocations: 75.92 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.324, allocations: 0 / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3242, allocations: 31.97 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3245, allocations: 8.922 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.325, allocations: 147.1 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3252, allocations: 0.6923 MB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.3253, allocations: 0 / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.3253, allocations: 15.44 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3253, allocations: 0 / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.344, allocations: 1.612 MB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.134, allocations: 8 kB / 0.7915 GB, free: 4.848 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)