Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",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.001219/0.001219, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001259/0.001259, allocations: 190.8 kB / 16.25 MB, free: 6.645 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.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.334/2.334, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5054, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001919/0.5074, allocations: 0.7575 MB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.5082, allocations: 0.8078 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.5083, allocations: 7.938 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.5083, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.5084, allocations: 3.938 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.37e-05/0.5085, allocations: 7.984 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.481e-05/0.5086, allocations: 47.86 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.5087, allocations: 7.984 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.5088, allocations: 19.92 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.5088, allocations: 23.91 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.5088, allocations: 4 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.5088, allocations: 7.938 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.5089, allocations: 8 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.5089, allocations: 19.92 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.969e-05/0.509, allocations: 35.88 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.509, allocations: 3.938 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.509, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.509, allocations: 0 / 1.019 GB, free: 0.9375 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.0005156/0.5095, allocations: 370.9 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5096, allocations: 8.031 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.5096, allocations: 34.75 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.5096, allocations: 4.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5098, allocations: 172.3 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5098, allocations: 4.375 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.5098, allocations: 384 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.51, allocations: 74.14 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.51, allocations: 7.938 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.5101, allocations: 4 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5101, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.5103, allocations: 59.94 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.5107, allocations: 264.9 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.5109, allocations: 62.52 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.511, allocations: 40.86 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.5111, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5111, allocations: 34.55 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5111, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004801/0.5116, allocations: 125.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.5117, allocations: 51.41 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.5118, allocations: 109.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5118, allocations: 25.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.5118, allocations: 92.12 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.5119, allocations: 7.844 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.5119, allocations: 17.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.512, allocations: 310.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.5121, allocations: 43.83 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.5123, allocations: 31.97 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.5125, allocations: 72.72 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5125, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002953/0.5128, allocations: 101.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5129, allocations: 4.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5129, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5129, allocations: 7.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.513, allocations: 23.97 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.513, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.5131, allocations: 11.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5131, allocations: 0 / 1.021 GB, free: 14.56 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 8.135e-05/0.5132, allocations: 114.3 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.5132, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.5133, allocations: 7.906 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5133, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5133, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5133, allocations: 3.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.5135, allocations: 173.5 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5135, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.5136, allocations: 11.98 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5136, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5136, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5136, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5136, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.514, allocations: 199.3 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.514, allocations: 81.48 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.514, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.5141, allocations: 11.98 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.5142, allocations: 7.984 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.5142, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.5142, allocations: 83.28 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5142, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002084/0.5145, allocations: 8 kB / 1.021 GB, free: 13.76 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.0006217/0.5151, allocations: 0.7357 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.5154, allocations: 79.86 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5154, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.5155, allocations: 35.95 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.5158, allocations: 7.938 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.5163, allocations: 167.2 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5166, allocations: 0.6807 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.5166, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.5167, allocations: 19.38 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5167, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.5273, allocations: 1.421 MB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.5275, allocations: 199.7 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.074, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches