Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_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.008364/0.008364, allocations: 100 kB / 15.73 MB, free: 6.055 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.002176/0.002176, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 67.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7646, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00176/0.7664, allocations: 0.7003 MB / 1.221 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.7673, allocations: 0.7962 MB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.7673, allocations: 0 / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.7674, allocations: 3.938 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.7674, allocations: 7.922 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.305e-05/0.7675, allocations: 19.98 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.7676, allocations: 39.86 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7677, allocations: 11.98 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.7678, allocations: 19.92 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.7678, allocations: 23.91 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.7679, allocations: 7.938 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.7679, allocations: 4 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.7679, allocations: 7.984 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.7679, allocations: 11.94 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.768, allocations: 43.81 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.768, allocations: 0 / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7681, allocations: 0 / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.7681, allocations: 0 / 1.222 GB, free: 324 kB / 0.9356 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.0005743/0.7686, allocations: 375 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7687, allocations: 8.031 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.7687, allocations: 34.75 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.7688, allocations: 4.891 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.7689, allocations: 168.4 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7689, allocations: 4.359 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.7689, allocations: 8.312 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.7692, allocations: 70.2 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.7692, allocations: 3.938 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.7692, allocations: 4 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7693, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.7696, allocations: 67.92 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.7699, allocations: 264.9 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.7702, allocations: 66.41 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.7704, allocations: 44.91 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.7704, allocations: 4 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.7704, allocations: 38.56 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.7704, allocations: 0 / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005808/0.771, allocations: 125.6 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.7711, allocations: 59.33 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.7712, allocations: 101.9 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.7712, allocations: 25.7 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.7712, allocations: 96.06 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.7713, allocations: 7.906 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.7713, allocations: 17.72 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7715, allocations: 318.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.7716, allocations: 31.97 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.7718, allocations: 31.91 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.7721, allocations: 76.72 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7721, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003512/0.7725, allocations: 97.56 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7725, allocations: 4 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.7725, allocations: 3.984 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.7725, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.7726, allocations: 19.98 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7727, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.7727, allocations: 15.94 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7728, allocations: 4 kB / 1.224 GB, free: 13.93 MB / 0.9512 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.612e-05/0.7728, allocations: 109.8 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.7729, allocations: 4 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.7729, allocations: 11.89 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.7729, allocations: 336 / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7729, allocations: 4 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.7729, allocations: 0 / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.7731, allocations: 173.6 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7731, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.7732, allocations: 15.98 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7732, allocations: 3.984 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.7733, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7733, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7733, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.7737, allocations: 203.3 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.7737, allocations: 81.11 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.7737, allocations: 0 / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.7739, allocations: 15.97 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.7739, allocations: 3.938 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7739, allocations: 8 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.774, allocations: 87.27 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.774, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002236/0.7742, allocations: 8 kB / 1.225 GB, free: 13.11 MB / 0.9512 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.0007364/0.7749, allocations: 0.7362 MB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.7753, allocations: 63.92 kB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.7753, allocations: 0 / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.7755, allocations: 43.91 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.7758, allocations: 12 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.7762, allocations: 155 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.7765, allocations: 0.6844 MB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.7766, allocations: 4 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.7766, allocations: 19.42 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7766, allocations: 0 / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.7987, allocations: 1.624 MB / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/8.488, allocations: 4.531 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches