Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001002/0.001002, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.869/1.869, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005425/0.0005426, allocations: 17.72 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2937, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008921/0.2946, allocations: 381.1 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001311/0.2948, allocations: 17.64 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2948, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.563e-05/0.2949, allocations: 4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.365e-05/0.295, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.083e-05/0.295, allocations: 8 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.2951, allocations: 19.91 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2953, allocations: 27.98 kB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.2953, allocations: 7.938 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.2953, allocations: 7.938 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2954, allocations: 4 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.2954, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2954, allocations: 3.984 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.2954, allocations: 33.64 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.146e-05/0.2955, allocations: 43.86 kB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2955, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2955, allocations: 4 kB / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2955, allocations: 0 / 0.7878 GB, free: 11.31 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003194/0.2959, allocations: 339.5 kB / 0.7881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2959, allocations: 8.031 kB / 0.7881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2959, allocations: 38.55 kB / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.296, allocations: 7.906 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2961, allocations: 175 kB / 0.7883 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2962, allocations: 7.984 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2962, allocations: 8 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2963, allocations: 77.67 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2963, allocations: 3.938 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2964, allocations: 4 kB / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2964, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.2964, allocations: 47.91 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.2969, allocations: 487.1 kB / 0.7889 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/0.297, allocations: 169.1 kB / 0.7891 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.297, allocations: 75.28 kB / 0.7892 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.2971, allocations: 109.8 kB / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2971, allocations: 0 / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.2972, allocations: 49.42 kB / 0.7893 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2972, allocations: 126.7 kB / 0.7894 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2974, allocations: 170 kB / 0.7896 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.2974, allocations: 29.7 kB / 0.7896 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2974, allocations: 96.05 kB / 0.7897 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.2975, allocations: 0 / 0.7897 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.2975, allocations: 0 / 0.7897 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2976, allocations: 314.8 kB / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.2976, allocations: 11.98 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.2976, allocations: 4 kB / 0.79 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.2977, allocations: 15.98 kB / 0.79 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2977, allocations: 4.062 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.2978, allocations: 53.53 kB / 0.7901 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2978, allocations: 4 kB / 0.7901 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2978, allocations: 7.984 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2978, allocations: 7.938 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.2979, allocations: 0 / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.2979, allocations: 0 / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.2979, allocations: 11.92 kB / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2979, allocations: 4 kB / 0.7901 GB, free: 8.664 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 (1): * Single equations (assignments): 1 * 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 0.0001089/0.2981, allocations: 189.2 kB / 0.7903 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.2981, allocations: 116.9 kB / 0.7904 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.2982, allocations: 116.8 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.194e-05/0.2982, allocations: 180.2 kB / 0.7907 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.758e-05/0.2983, allocations: 180.3 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.166e-05/0.2984, allocations: 192.3 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2986, allocations: 417.1 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-05/0.2986, allocations: 106.1 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.2987, allocations: 101 kB / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-05/0.2987, allocations: 184.3 kB / 0.7918 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.2988, allocations: 184.2 kB / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.263e-05/0.2989, allocations: 180.3 kB / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-05/0.2989, allocations: 184.2 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.2991, allocations: 307.8 kB / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.2992, allocations: 190 kB / 0.7928 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.2993, allocations: 180.5 kB / 0.793 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/0.2993, allocations: 108.9 kB / 0.7931 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.2994, allocations: 188.3 kB / 0.7933 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.2994, allocations: 112.9 kB / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001001/0.2996, allocations: 134.4 kB / 0.7935 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2996, allocations: 0 / 0.7935 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000201/0.2998, allocations: 8 kB / 0.7935 GB, free: 4.957 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 (0): * Single equations (assignments): 0 * 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.0004079/0.3002, allocations: 0.8086 MB / 0.7943 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.72e-05/0.3003, allocations: 11.98 kB / 0.7943 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.3003, allocations: 0 / 0.7943 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.3003, allocations: 3.938 kB / 0.7943 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3006, allocations: 0.5264 MB / 0.7949 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.3013, allocations: 0.5858 MB / 0.7954 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.3015, allocations: 0.6965 MB / 0.7961 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.3015, allocations: 4 kB / 0.7961 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3016, allocations: 19.42 kB / 0.7961 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3016, allocations: 0 / 0.7961 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2666/0.5682, allocations: 1.373 MB / 0.7975 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.5684, allocations: 192.9 kB / 0.7977 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.154, allocations: 0 / 0.7977 GB, free: 0.707 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) Environment - environmentSimulation: