Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_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.001557/0.001557, 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.001927/0.001927, allocations: 192.1 kB / 16.53 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.324/2.324, allocations: 437.1 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/0.5889, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001781/0.5907, allocations: 0.7109 MB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000756/0.5915, allocations: 0.804 MB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.5915, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.5916, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.5916, allocations: 7.875 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.481e-05/0.5917, allocations: 11.98 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.5918, allocations: 51.84 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.495e-05/0.5918, allocations: 8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.5919, allocations: 19.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.5919, allocations: 23.84 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.592, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.592, allocations: 7.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.592, allocations: 7.984 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.592, allocations: 15.94 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.785e-05/0.5921, allocations: 43.8 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.5921, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5921, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5921, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 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.0004143/0.5926, allocations: 361.5 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.5926, allocations: 8.031 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.5926, allocations: 38.75 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.783e-05/0.5926, allocations: 0.9375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.5927, allocations: 176.2 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.5928, allocations: 4.375 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.5928, allocations: 4.375 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.593, allocations: 66.22 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.593, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.593, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.593, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.5933, allocations: 67.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.5936, allocations: 276.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.5938, allocations: 54.55 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.594, allocations: 44.91 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.594, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.594, allocations: 30.56 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.594, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004925/0.5945, allocations: 141.4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.5945, allocations: 55.41 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.5946, allocations: 105.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5946, allocations: 25.7 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.5947, allocations: 88.14 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.5947, allocations: 11.84 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.5947, allocations: 17.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.5948, allocations: 314.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5949, allocations: 27.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5951, allocations: 35.95 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.5953, allocations: 72.72 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5954, allocations: 7.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/0.5957, allocations: 105.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5957, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5957, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.5957, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.5958, allocations: 15.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.5958, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.5959, allocations: 11.97 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.5959, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 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 6.022e-05/0.596, allocations: 109.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.596, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.5964, allocations: 109.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5964, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5964, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5964, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.5965, allocations: 173.5 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5965, allocations: 3.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.5966, allocations: 11.98 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5966, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5966, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5967, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5967, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.597, allocations: 195.4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.597, allocations: 85.05 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.5971, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5972, allocations: 11.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.5972, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.5972, allocations: 3.984 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.5972, allocations: 83.59 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5973, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002061/0.5975, allocations: 11.91 kB / 1.022 GB, free: 13.44 MB / 0.7794 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.000606/0.5981, allocations: 0.7284 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.5984, allocations: 79.89 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5984, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5985, allocations: 35.95 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.5988, allocations: 8.172 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.5992, allocations: 165.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.5994, allocations: 0.6768 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.5994, allocations: 4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.5995, allocations: 11.44 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of SimCode: time 3.8e-07/0.5995, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.359/1.958, allocations: 1.601 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.53/11.49, allocations: 4.891 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches