Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.001231/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001277/0.001278, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.648 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.4/2.4, allocations: 437 MB / 0.7099 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.91 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5289, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002403/0.5314, allocations: 0.8135 MB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.5325, allocations: 0.8506 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.5326, allocations: 4 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.5327, allocations: 3.938 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.5328, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.5329, allocations: 27.97 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.533, allocations: 67.78 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.5332, allocations: 27.97 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.5333, allocations: 27.91 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.5334, allocations: 35.83 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.5334, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.5334, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.5334, allocations: 15.92 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.5335, allocations: 23.86 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.5336, allocations: 75.73 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5336, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5336, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5336, allocations: 4 kB / 1.019 GB, free: 0.8633 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006087/0.5343, allocations: 373.5 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5343, allocations: 12.03 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.5343, allocations: 42.67 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.5344, allocations: 8.844 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.5345, allocations: 180.2 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5345, allocations: 12.31 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.5346, allocations: 4.375 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.5348, allocations: 82.2 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5348, allocations: 3.938 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5348, allocations: 4 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5348, allocations: 4 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.5351, allocations: 67.92 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.5356, allocations: 328.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.5359, allocations: 82.53 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.536, allocations: 40.86 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.536, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.5361, allocations: 34.56 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.5361, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004803/0.5366, allocations: 133.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5366, allocations: 51.41 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.5367, allocations: 117.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5367, allocations: 25.81 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.5368, allocations: 107.9 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.5368, allocations: 19.72 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.5369, allocations: 21.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.537, allocations: 322.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.5371, allocations: 31.91 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.5372, allocations: 31.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.5375, allocations: 72.81 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5375, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002719/0.5377, allocations: 101.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5378, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5378, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5378, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.538, allocations: 19.92 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.538, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.5381, allocations: 16.33 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5381, allocations: 4 kB / 1.021 GB, free: 14.31 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 (6): * Single equations (assignments): 6 * 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.169e-05/0.5382, allocations: 122.2 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.5382, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.5382, allocations: 16.36 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5382, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5382, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5383, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.5385, allocations: 197.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5386, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5387, allocations: 15.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5387, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5387, allocations: 3.984 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.5387, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5387, allocations: 3.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.5391, allocations: 211.3 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.5391, allocations: 85.02 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.5391, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5392, allocations: 11.98 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.5393, allocations: 11.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.5393, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.464e-05/0.5394, allocations: 95.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5394, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000222/0.5396, allocations: 12 kB / 1.022 GB, free: 13.43 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 (6): * Single equations (assignments): 6 * 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.0006242/0.5403, allocations: 0.7474 MB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.5405, allocations: 71.94 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5405, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.5407, allocations: 43.91 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.541, allocations: 11.94 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.5428, allocations: 1.453 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.543, allocations: 0.6887 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.073e-05/0.5431, allocations: 11.98 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.5432, allocations: 23.42 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5432, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.5544, allocations: 2.024 MB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5546, allocations: 197.5 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.13, allocations: 7.875 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches