Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.001075/0.001075, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001152/0.001152, allocations: 188.4 kB / 16.25 MB, free: 6.621 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.325/2.325, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4965, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001755/0.4983, allocations: 0.7726 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.4991, allocations: 0.804 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.4991, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.4992, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.4992, allocations: 7.938 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.266e-05/0.4993, allocations: 15.98 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.4994, allocations: 43.8 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.4995, allocations: 11.98 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.4995, allocations: 15.98 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.4996, allocations: 19.92 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.4996, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.4996, allocations: 7.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.4996, allocations: 15.97 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.4997, allocations: 11.94 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.103e-05/0.4997, allocations: 39.88 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4997, allocations: 3.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4997, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.4998, allocations: 0 / 1.019 GB, free: 0.9453 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.0004299/0.5002, allocations: 375 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5002, allocations: 8.031 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.5003, allocations: 34.75 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.5003, allocations: 4.938 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.5004, allocations: 168.3 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.5004, allocations: 4.312 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.5004, allocations: 384 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.5006, allocations: 74.2 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5007, allocations: 3.938 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-06/0.5007, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.5007, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.5009, allocations: 67.92 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.5012, allocations: 260.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.5014, allocations: 66.47 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.5016, allocations: 40.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.5016, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5016, allocations: 34.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5016, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004727/0.5021, allocations: 137.4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.5022, allocations: 55.39 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.851e-05/0.5022, allocations: 109.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.5022, allocations: 29.69 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.5023, allocations: 88.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.5023, allocations: 11.84 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.5023, allocations: 13.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.5024, allocations: 318.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.5026, allocations: 31.97 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.5027, allocations: 27.97 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.5029, allocations: 76.72 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5029, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002878/0.5032, allocations: 101.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5032, allocations: 7.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5033, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.5033, allocations: 7.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5034, allocations: 19.97 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5034, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.5035, allocations: 7.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.5035, allocations: 4 kB / 1.021 GB, free: 14.57 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.199e-05/0.5036, allocations: 114.3 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.5036, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.5036, allocations: 15.89 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5036, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5036, allocations: 3.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5036, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.5038, allocations: 169.5 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.5038, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.5039, allocations: 15.98 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5039, allocations: 3.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5039, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5039, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5039, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.5042, allocations: 195.4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.5043, allocations: 77.11 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5043, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5044, allocations: 23.97 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.5044, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.5044, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.5045, allocations: 87.27 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5045, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002045/0.5047, allocations: 8 kB / 1.021 GB, free: 13.75 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.0005528/0.5053, allocations: 0.7357 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.5056, allocations: 63.92 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.5056, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.5057, allocations: 35.97 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.0002599/0.506, allocations: 8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.5064, 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.000187/0.5066, allocations: 0.6846 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.5066, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.5066, allocations: 19.36 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5066, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.521, allocations: 1.398 MB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.5212, allocations: 199.9 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.075, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches