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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009005/0.0009005, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.0009742/0.0009742, allocations: 172.2 kB / 16.26 MB, free: 6.664 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 16 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5534, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.000737/0.5542, allocations: 446.2 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.5549, allocations: 0.7923 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.5549, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.5549, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.834e-05/0.555, allocations: 15.92 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.807e-05/0.555, allocations: 11.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.5551, allocations: 43.8 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.5552, allocations: 8 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.5553, allocations: 11.98 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.5553, allocations: 19.91 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.5553, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.5553, allocations: 7.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.5554, allocations: 8 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.5554, allocations: 41.62 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.406e-05/0.5555, allocations: 39.86 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5555, allocations: 3.938 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5555, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.5555, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 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.0004255/0.5559, allocations: 377.6 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.556, allocations: 8.031 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.556, allocations: 30.75 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.556, allocations: 4.938 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.5561, allocations: 164.3 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5561, allocations: 8.375 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.5561, allocations: 4.312 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.5564, allocations: 85.95 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.5564, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.5564, allocations: 7.938 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5564, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.5567, allocations: 87.92 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.557, allocations: 264.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.5572, allocations: 70.47 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.5574, allocations: 48.92 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.5574, allocations: 3.984 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.5574, allocations: 30.56 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5574, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000521/0.5579, allocations: 157.8 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.558, allocations: 63.34 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.5581, allocations: 113.7 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.5581, allocations: 25.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.5581, allocations: 92.12 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.5581, allocations: 7.844 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.5582, allocations: 9.719 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.5582, allocations: 326.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.5584, allocations: 39.95 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.5585, allocations: 47.95 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.5588, allocations: 92.78 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5588, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003234/0.5592, allocations: 121.5 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5592, allocations: 8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5592, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.5592, allocations: 3.938 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5593, allocations: 27.97 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.5594, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.5594, allocations: 15.98 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5594, allocations: 4 kB / 1.027 GB, free: 11.87 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.316e-05/0.5595, allocations: 119.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.5595, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.5596, allocations: 7.906 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.5596, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.5596, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.5596, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.5597, allocations: 173.6 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5597, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.659e-05/0.5598, allocations: 19.98 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.5598, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.5599, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5599, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5599, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.5602, allocations: 231.2 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.5603, allocations: 77.11 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.5603, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.5604, allocations: 15.98 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.5604, allocations: 11.98 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.5604, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.5605, allocations: 83.28 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5605, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002028/0.5607, allocations: 8 kB / 1.028 GB, free: 11.03 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.0005855/0.5613, allocations: 0.7591 MB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.5616, allocations: 91.92 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5616, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5618, allocations: 44.28 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.562, allocations: 5.719 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.5624, allocations: 174.3 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.5626, allocations: 0.6809 MB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.5626, allocations: 4.094 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.5627, allocations: 15.44 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5627, allocations: 0 / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9694/1.532, allocations: 1.299 MB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/1.532, allocations: 199 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/3.104, allocations: 0 / 1.031 GB, free: 7.734 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