Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_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.001419/0.001419, allocations: 108 kB / 15.61 MB, free: 152 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.001646/0.001646, allocations: 197 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 65.3 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2883, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001898/0.2903, allocations: 0.655 MB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001695/0.2905, allocations: 11.98 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.2905, allocations: 4 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.54e-05/0.2906, allocations: 3.938 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.2907, allocations: 0 / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.098e-05/0.2908, allocations: 0 / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2909, allocations: 43.91 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.291, allocations: 31.98 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.291, allocations: 15.92 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.2911, allocations: 15.92 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2911, allocations: 4 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.2911, allocations: 4 kB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.2912, allocations: 15.94 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.2912, allocations: 15.88 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.217e-05/0.2913, allocations: 47.86 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2913, allocations: 3.938 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2913, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2913, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 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.0003373/0.2917, allocations: 347.7 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2917, allocations: 8.031 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.2918, allocations: 38.75 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.2918, allocations: 4.844 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.292, allocations: 188.2 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.292, allocations: 12.31 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.292, allocations: 4.375 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2921, allocations: 78.16 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2922, allocations: 3.938 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2922, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2922, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.2923, allocations: 43.97 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.2927, allocations: 495 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.2928, allocations: 165.1 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.2928, allocations: 88.08 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2929, allocations: 79.28 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.2929, allocations: 109.8 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.2929, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.428e-05/0.293, allocations: 29.7 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.293, allocations: 130.6 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2932, allocations: 175.4 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2932, allocations: 29.7 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.2933, allocations: 88.14 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.2933, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.2933, allocations: 13.72 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2934, allocations: 322.8 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.2935, allocations: 7.938 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.2935, allocations: 11.98 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.2935, allocations: 12.84 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2935, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.2936, allocations: 53.59 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2937, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2937, allocations: 4.094 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2937, allocations: 3.984 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.2937, allocations: 7.938 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2938, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.2938, allocations: 7.938 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2938, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 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 9.732e-05/0.2939, allocations: 198.8 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.294, allocations: 108.9 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.294, allocations: 124.8 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-05/0.2941, allocations: 184.1 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/0.2941, allocations: 177.9 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-05/0.2942, allocations: 184.3 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.2944, allocations: 425.1 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.2945, allocations: 105 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.2945, allocations: 104.9 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.183e-05/0.2945, allocations: 180.2 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.2946, allocations: 184.2 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.143e-05/0.2947, allocations: 184.2 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.624e-05/0.2947, allocations: 184.3 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.2948, allocations: 311.7 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2949, allocations: 190 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.295, allocations: 180.3 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.2951, allocations: 105.2 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.2951, allocations: 184.2 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.2952, allocations: 109 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.13e-05/0.2953, allocations: 133.1 kB / 1.07 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2953, allocations: 0 / 1.07 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002198/0.2955, allocations: 4 kB / 1.07 GB, free: 7.188 MB / 0.8262 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.0003776/0.2959, allocations: 0.817 MB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.98e-05/0.296, allocations: 11.98 kB / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.296, allocations: 0 / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.296, allocations: 0 / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.2964, allocations: 463.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2976, allocations: 1.596 MB / 1.073 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2978, allocations: 0.6924 MB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.2979, allocations: 15.97 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2979, allocations: 11.44 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2979, allocations: 0 / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.3144, allocations: 1.6 MB / 1.075 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.828, allocations: 17.34 kB / 1.075 GB, free: 1.918 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches