Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.007491/0.007491, allocations: 97.39 kB / 15.73 MB, free: 6.484 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.002117/0.002117, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.472/1.472, 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 12.0.0-master/package.mo): time 2.888/2.888, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.91 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 162.2 MB / 1.242 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001887/0.3023, allocations: 0.7089 MB / 1.242 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.3033, allocations: 0.8001 MB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.3033, allocations: 0 / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3034, allocations: 7.922 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.3034, allocations: 3.938 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.842e-05/0.3035, allocations: 15.98 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.177e-05/0.3036, allocations: 39.86 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3037, allocations: 15.92 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.3038, allocations: 19.97 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.3039, allocations: 23.92 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3039, allocations: 4 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.3039, allocations: 4 kB / 1.243 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.304, allocations: 11.92 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.304, allocations: 11.94 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.661e-05/0.3041, allocations: 39.81 kB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3041, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3041, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3041, allocations: 0 / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005397/0.3047, allocations: 375.2 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3047, allocations: 12.03 kB / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.3047, allocations: 30.75 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.3048, allocations: 4.891 kB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3049, allocations: 168.4 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3049, allocations: 4.375 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.305, allocations: 12.31 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3052, allocations: 70.2 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3052, allocations: 7.922 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3053, allocations: 4 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3053, allocations: 7.938 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3056, allocations: 59.92 kB / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3059, allocations: 272.9 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3061, allocations: 54.48 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3063, allocations: 40.91 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3063, allocations: 0 / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3064, allocations: 30.56 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3064, allocations: 8 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005554/0.3069, allocations: 125.6 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.307, allocations: 59.34 kB / 1.244 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.3071, allocations: 105.8 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3071, allocations: 29.7 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.3072, allocations: 88.14 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3072, allocations: 11.84 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3072, allocations: 13.72 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3074, allocations: 318.8 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3075, allocations: 31.97 kB / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3077, allocations: 35.95 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.308, allocations: 68.73 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.308, allocations: 3.938 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003454/0.3084, allocations: 105.5 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3084, allocations: 4 kB / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3084, allocations: 0 / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3084, allocations: 0 / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3085, allocations: 15.98 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3086, allocations: 0 / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.3086, allocations: 11.98 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.3087, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.014e-05/0.3087, allocations: 122.3 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3088, allocations: 7.953 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.3092, allocations: 105.5 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3092, allocations: 0 / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3092, allocations: 0 / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3092, allocations: 4.312 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.3094, allocations: 169.6 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3094, allocations: 0 / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3095, allocations: 23.97 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3095, allocations: 0 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3095, allocations: 0 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.3095, allocations: 4 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3095, allocations: 0 / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.3099, allocations: 199.4 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.31, allocations: 89.03 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.31, allocations: 4 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3101, allocations: 11.98 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3102, allocations: 0 / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3102, allocations: 0 / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.3102, allocations: 91.27 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.014e-06/0.3102, allocations: 4 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002235/0.3105, allocations: 11.94 kB / 1.246 GB, free: 5.105 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.0007245/0.3112, allocations: 0.7319 MB / 1.247 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.3116, allocations: 63.92 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3116, allocations: 0 / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3117, allocations: 35.91 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.312, allocations: 19.92 kB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.3125, allocations: 163 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3128, allocations: 0.6768 MB / 1.248 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.3128, allocations: 4 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.3129, allocations: 11.44 kB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3129, allocations: 0 / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.3345, allocations: 1.633 MB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.872, allocations: 10.66 kB / 1.249 GB, free: 1.762 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches