Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.008401/0.008401, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.002221/0.002221, allocations: 192.3 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 75.88 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.29, allocations: 159.1 MB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001666/0.2917, allocations: 0.6577 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.2918, allocations: 15.92 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.2919, allocations: 0 / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.816e-05/0.292, allocations: 4 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.292, allocations: 3.938 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.206e-05/0.2921, allocations: 4 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2922, allocations: 39.97 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2923, allocations: 31.97 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.2924, allocations: 15.94 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.2924, allocations: 15.92 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2924, allocations: 4 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.2925, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.2925, allocations: 11.94 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.2925, allocations: 23.86 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.915e-05/0.2926, allocations: 55.69 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2926, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2927, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2927, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 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.0003772/0.293, allocations: 351.3 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2931, allocations: 8.031 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.2931, allocations: 38.75 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.2932, allocations: 4.891 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2933, allocations: 184.3 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2934, allocations: 4.375 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2934, allocations: 8.375 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2935, allocations: 82.09 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2936, allocations: 3.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2936, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2936, allocations: 7.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.2937, allocations: 47.97 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.2942, allocations: 491.1 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.764e-05/0.2943, allocations: 165.1 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.2943, allocations: 81.98 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.2944, allocations: 75.28 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.2944, allocations: 117.8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.2945, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.938e-05/0.2945, allocations: 33.66 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.2946, allocations: 138.6 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2948, allocations: 167.2 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2948, allocations: 29.64 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.2949, allocations: 92.14 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.2949, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.2949, allocations: 17.7 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2951, allocations: 322.8 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.2951, allocations: 7.984 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.2951, allocations: 4 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.2952, allocations: 20.78 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2952, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.2953, allocations: 53.64 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2953, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2953, allocations: 4.094 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.2953, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.2954, allocations: 7.938 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2954, allocations: 3.984 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.2954, allocations: 7.953 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2954, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.2956, allocations: 197.2 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.2956, allocations: 112.9 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.2957, allocations: 112.9 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-05/0.2958, allocations: 184.1 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-05/0.2959, allocations: 180.2 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.394e-05/0.296, allocations: 180.3 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.2963, allocations: 425.1 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/0.2963, allocations: 105 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.2964, allocations: 108.9 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.134e-05/0.2965, allocations: 180.3 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/0.2966, allocations: 184.2 kB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.2966, allocations: 188.1 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.831e-05/0.2967, allocations: 176.3 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2969, allocations: 315.9 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.297, allocations: 190.1 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.2971, allocations: 184.2 kB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2972, allocations: 108.9 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.2973, allocations: 188.2 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.2974, allocations: 105 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001111/0.2975, allocations: 137.3 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2975, allocations: 0 / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002171/0.2977, allocations: 4 kB / 1.227 GB, free: 6.832 MB / 0.9825 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 (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.000484/0.2982, allocations: 0.8131 MB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.028e-05/0.2983, allocations: 15.92 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2983, allocations: 0 / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.2983, allocations: 0 / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.2987, allocations: 463.6 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3002, allocations: 1.607 MB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3006, allocations: 0.6963 MB / 1.23 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.3006, allocations: 4 kB / 1.23 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.3006, allocations: 15.42 kB / 1.23 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3006, allocations: 4 kB / 1.23 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.323, allocations: 1.622 MB / 1.232 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.793, allocations: 12.19 kB / 1.232 GB, free: 1.547 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches