Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.00104/0.00104, allocations: 99.55 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.0009083/0.0009084, 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.028/2.028, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.922/1.922, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005814/0.0005817, allocations: 15.12 kB / 0.6737 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2893, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0006239/0.2899, allocations: 385.1 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001221/0.2901, allocations: 9.719 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.2901, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.845e-05/0.2902, allocations: 3.938 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.538e-05/0.2902, allocations: 3.984 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.273e-05/0.2903, allocations: 8 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.2904, allocations: 23.97 kB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2905, allocations: 31.98 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.2906, allocations: 3.938 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.2906, allocations: 11.92 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2906, allocations: 4 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-06/0.2906, allocations: 0 / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2907, allocations: 8 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.2907, allocations: 33.64 kB / 0.7877 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.687e-05/0.2907, allocations: 35.86 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.2907, allocations: 0 / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2908, allocations: 0 / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2908, allocations: 0 / 0.7878 GB, free: 11.29 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.0002728/0.291, allocations: 339.5 kB / 0.7881 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2911, allocations: 8.031 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.2911, allocations: 42.56 kB / 0.7882 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.2912, allocations: 11.89 kB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2913, allocations: 179 kB / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.2913, allocations: 0 / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2913, allocations: 11.94 kB / 0.7883 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2915, allocations: 73.66 kB / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2915, allocations: 0 / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.2915, allocations: 0 / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2915, allocations: 7.938 kB / 0.7884 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.2916, allocations: 51.91 kB / 0.7885 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.292, allocations: 491.1 kB / 0.7889 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.2921, allocations: 165.1 kB / 0.7891 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2921, allocations: 75.28 kB / 0.7892 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2921, allocations: 113.8 kB / 0.7893 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2921, allocations: 4 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.069e-05/0.2922, allocations: 33.56 kB / 0.7893 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2923, allocations: 138.7 kB / 0.7894 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2924, allocations: 164.8 kB / 0.7896 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.2924, allocations: 25.7 kB / 0.7896 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.2925, allocations: 100 kB / 0.7897 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.2925, allocations: 0 / 0.7897 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.2925, allocations: 0 / 0.7897 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.2926, allocations: 322.8 kB / 0.79 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.2926, allocations: 8 kB / 0.79 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.2926, allocations: 7.984 kB / 0.79 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.2927, allocations: 7.984 kB / 0.7901 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2927, allocations: 0 / 0.7901 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.945e-05/0.2928, allocations: 57.53 kB / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2928, allocations: 4 kB / 0.7901 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.2928, allocations: 0 / 0.7901 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2928, allocations: 4.047 kB / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.2929, allocations: 12 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2929, allocations: 0 / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.2929, allocations: 11.92 kB / 0.7901 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.2929, allocations: 0 / 0.7901 GB, free: 8.637 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 8.649e-05/0.293, allocations: 197.1 kB / 0.7903 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.2931, allocations: 112.8 kB / 0.7904 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.2931, allocations: 120.9 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/0.2932, allocations: 184.2 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-05/0.2932, allocations: 180.3 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-05/0.2933, allocations: 180.2 kB / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.2935, allocations: 425.1 kB / 0.7915 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.2935, allocations: 106.2 kB / 0.7916 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.2936, allocations: 105 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.831e-05/0.2936, allocations: 180.2 kB / 0.7918 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.2937, allocations: 180.3 kB / 0.792 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.367e-05/0.2938, allocations: 188.2 kB / 0.7922 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-05/0.2938, allocations: 180.2 kB / 0.7924 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.2939, allocations: 307.8 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.294, allocations: 190 kB / 0.7928 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.2941, allocations: 188.4 kB / 0.793 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.2942, allocations: 101 kB / 0.7931 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.2942, allocations: 184.3 kB / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.2943, allocations: 124.9 kB / 0.7934 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.499e-05/0.2944, allocations: 126.4 kB / 0.7935 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 0 / 0.7935 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002005/0.2946, allocations: 4 kB / 0.7935 GB, free: 4.926 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.0003458/0.2949, allocations: 0.8126 MB / 0.7943 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.755e-05/0.295, allocations: 19.92 kB / 0.7944 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.295, allocations: 0 / 0.7944 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.295, allocations: 0 / 0.7944 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2953, allocations: 0.5263 MB / 0.7949 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.296, allocations: 0.5794 MB / 0.7954 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2962, allocations: 0.7032 MB / 0.7961 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.2962, allocations: 8 kB / 0.7961 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.2963, allocations: 15.44 kB / 0.7961 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2963, allocations: 0 / 0.7961 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2246/0.5209, allocations: 1.364 MB / 0.7975 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.5211, allocations: 192.8 kB / 0.7977 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.084, allocations: 3 kB / 0.7977 GB, free: 0.6758 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) Environment - environmentSimulation: