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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001686/0.001686, allocations: 112.5 kB / 15.73 MB, free: 76 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.0021/0.0021, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.809/2.809, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 72.02 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00177/0.3018, allocations: 0.6517 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000151/0.3019, allocations: 11.92 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.302, allocations: 4 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3021, allocations: 7.922 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.251e-05/0.3022, allocations: 0 / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.694e-05/0.3022, allocations: 4 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.3023, allocations: 23.98 kB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3025, allocations: 35.92 kB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.3025, allocations: 15.94 kB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.3025, allocations: 15.92 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3026, allocations: 4 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.3026, allocations: 0 / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.3026, allocations: 11.94 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.3027, allocations: 27.78 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3028, allocations: 51.75 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3028, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3028, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3028, allocations: 4 kB / 1.221 GB, free: 13.72 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.0003587/0.3032, allocations: 349.1 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3032, allocations: 8.031 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.3033, allocations: 42.73 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.3033, allocations: 4.891 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3035, allocations: 180.2 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3035, allocations: 4.375 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3035, allocations: 8.359 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3037, allocations: 82.11 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3037, allocations: 7.938 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3037, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.3037, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.3038, allocations: 55.97 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.3043, allocations: 491.1 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.3044, allocations: 165.1 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.3044, allocations: 89.92 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3045, allocations: 75.28 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.3045, allocations: 109.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3045, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.738e-05/0.3046, allocations: 37.64 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3047, allocations: 134.6 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3048, allocations: 171.5 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.3048, allocations: 25.7 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.3049, allocations: 92.14 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.3049, allocations: 3.984 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.305, allocations: 13.72 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.3051, allocations: 318.8 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.3051, allocations: 7.984 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.3051, allocations: 7.938 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.3052, allocations: 20.91 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3052, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001177/0.3053, allocations: 53.64 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3053, allocations: 4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3053, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3053, allocations: 4.094 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.3054, allocations: 15.86 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3054, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.3054, allocations: 7.953 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3055, allocations: 7.969 kB / 1.223 GB, free: 10.94 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 9.261e-05/0.3056, allocations: 201.6 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.3056, allocations: 105 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3057, allocations: 108.9 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.607e-05/0.3057, allocations: 188.1 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-05/0.3058, allocations: 184.3 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.3059, allocations: 180.2 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.3061, allocations: 413.2 kB / 1.224 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.3061, allocations: 109 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.3062, allocations: 104.9 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-05/0.3062, allocations: 184.3 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.3063, allocations: 184.2 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.359e-05/0.3063, allocations: 184.2 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.272e-05/0.3064, allocations: 176.3 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3065, allocations: 311.9 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.3066, allocations: 198 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.3067, allocations: 180.3 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.3068, allocations: 112.9 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.3068, allocations: 180.2 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.3069, allocations: 109 kB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001047/0.307, allocations: 136.9 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.307, allocations: 0 / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002233/0.3072, allocations: 8 kB / 1.227 GB, free: 7.234 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.0003953/0.3076, allocations: 0.8126 MB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.704e-05/0.3077, allocations: 4 kB / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3077, allocations: 8.062 kB / 1.227 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.3077, allocations: 0 / 1.227 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3082, allocations: 459.6 kB / 1.228 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.3094, allocations: 1.604 MB / 1.229 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3096, allocations: 0.6924 MB / 1.23 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.3097, allocations: 12 kB / 1.23 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.3097, allocations: 15.42 kB / 1.23 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3097, allocations: 0 / 1.23 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.3264, allocations: 1.638 MB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.803, allocations: 3.938 kB / 1.232 GB, free: 1.953 MB / 0.9825 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