Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 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.00131/0.00131, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.91 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3027, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002002/0.3048, allocations: 0.6497 MB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.305, allocations: 11.94 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.305, allocations: 0 / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3052, allocations: 7.938 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.3052, allocations: 3.984 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.436e-05/0.3053, allocations: 4 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.3054, allocations: 27.91 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3055, allocations: 35.98 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.3056, allocations: 11.94 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.3056, allocations: 15.92 kB / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3056, allocations: 4 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.3057, allocations: 4 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.3057, allocations: 7.938 kB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.3057, allocations: 19.88 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.3058, allocations: 47.86 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3059, allocations: 3.938 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3059, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.3059, allocations: 0 / 1.065 GB, free: 13.63 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.0003384/0.3062, allocations: 351.7 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3063, allocations: 8.031 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.3063, allocations: 38.75 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.3063, allocations: 4.844 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3065, allocations: 180.2 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3065, allocations: 12.38 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3065, allocations: 4.375 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3067, allocations: 82.14 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3067, allocations: 3.938 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3067, allocations: 4 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3067, allocations: 4 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.3068, allocations: 43.97 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3073, allocations: 491 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.3074, allocations: 169.1 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.3074, allocations: 80.14 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3074, allocations: 79.28 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.3075, allocations: 113.8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3075, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.328e-05/0.3076, allocations: 33.7 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3076, allocations: 130.6 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3078, allocations: 171.6 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3078, allocations: 25.7 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3079, allocations: 100.1 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.3079, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3079, allocations: 13.72 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.308, allocations: 326.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.3081, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.3081, allocations: 11.98 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.3081, allocations: 12.8 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3081, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001132/0.3082, allocations: 57.58 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3083, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3083, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3083, allocations: 96 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.3083, allocations: 11.94 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3084, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.3084, allocations: 7.938 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3084, allocations: 4 kB / 1.067 GB, free: 10.86 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.505e-05/0.3085, allocations: 198.9 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3086, allocations: 112.8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.3086, allocations: 112.8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/0.3087, allocations: 188.2 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.899e-05/0.3088, allocations: 181.9 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/0.3088, allocations: 176.4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.309, allocations: 433.1 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.3091, allocations: 101 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.3091, allocations: 108.9 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.408e-05/0.3092, allocations: 176.3 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.3092, allocations: 180.3 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.517e-05/0.3093, allocations: 184.1 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-05/0.3094, allocations: 188.3 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.3095, allocations: 307.7 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.3096, allocations: 190.1 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.3097, allocations: 184.2 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.3097, allocations: 105.2 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.3098, allocations: 180.2 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.3099, allocations: 113 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001018/0.31, allocations: 133.3 kB / 1.07 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.31, allocations: 0 / 1.07 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002214/0.3102, allocations: 4 kB / 1.07 GB, free: 7.164 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.0004077/0.3106, allocations: 0.817 MB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.589e-05/0.3107, allocations: 11.98 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3107, allocations: 3.938 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3107, allocations: 0 / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3111, allocations: 463.6 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3125, allocations: 1.6 MB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3127, allocations: 0.6924 MB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.3127, allocations: 7.984 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.3128, allocations: 19.42 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3128, allocations: 0 / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.329, allocations: 1.6 MB / 1.075 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.777, allocations: 9.484 kB / 1.075 GB, free: 1.895 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches