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.001038/0.001038, allocations: 108 kB / 15.61 MB, free: 152 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.00105/0.00105, allocations: 195.5 kB / 16.53 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.421/2.421, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5037, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001802/0.5055, allocations: 0.7041 MB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.5063, allocations: 0.804 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.5063, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.5063, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.5064, allocations: 11.88 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.105e-05/0.5065, allocations: 19.91 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.5066, allocations: 43.86 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.5066, allocations: 8 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.5067, allocations: 19.97 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.5068, allocations: 27.84 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5068, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.5068, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.5068, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.5068, allocations: 19.92 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.274e-05/0.5069, allocations: 43.81 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5069, allocations: 4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5069, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.507, allocations: 0 / 1.019 GB, free: 0.8008 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.0004454/0.5074, allocations: 361.5 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.5074, allocations: 11.97 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.5075, allocations: 38.73 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.5075, allocations: 4.938 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.5076, allocations: 172.3 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5076, allocations: 4.375 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.5076, allocations: 384 / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.5079, allocations: 70.22 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5079, allocations: 3.938 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.5079, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5079, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.5082, allocations: 71.86 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.5085, allocations: 264.9 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.5087, allocations: 58.53 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.5088, allocations: 36.92 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.5089, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.5089, allocations: 34.56 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5089, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004999/0.5094, allocations: 141.4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5094, allocations: 51.41 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.5095, allocations: 109.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5095, allocations: 25.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.5096, allocations: 84.14 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.5096, allocations: 15.83 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.5096, allocations: 17.72 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.5097, allocations: 314.8 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.5099, allocations: 31.95 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.51, allocations: 28.16 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.5103, allocations: 84.73 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5103, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003052/0.5106, allocations: 97.53 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5106, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5106, allocations: 320 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5106, allocations: 8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5107, allocations: 11.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5108, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.5108, allocations: 15.97 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.5109, allocations: 3.984 kB / 1.021 GB, free: 14.43 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.239e-05/0.5109, allocations: 117.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.511, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.511, allocations: 15.91 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.511, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.511, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.511, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5111, allocations: 177.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5112, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.5113, allocations: 15.98 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5113, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.5113, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5113, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5113, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.5116, allocations: 191.4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.5117, allocations: 77.11 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.5117, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5118, allocations: 15.98 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.5118, allocations: 7.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.5118, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.5119, allocations: 87.28 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5119, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002106/0.5121, allocations: 4 kB / 1.022 GB, free: 13.62 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.0005742/0.5127, allocations: 0.7357 MB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.513, allocations: 67.92 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.513, allocations: 4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.5132, allocations: 39.89 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.5134, allocations: 8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.5138, allocations: 159.2 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.514, allocations: 0.6884 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.5141, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.5141, allocations: 11.44 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5141, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.5293, allocations: 1.594 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/7.25, allocations: 12.77 kB / 1.025 GB, free: 10.27 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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