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.01084/0.01084, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.002811/0.002811, allocations: 196.4 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.618/2.618, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 5.176/5.176, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003064/0.003064, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5369, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.003312/0.5403, allocations: 0.6983 MB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.5419, allocations: 0.8043 MB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.542, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.5421, allocations: 7.938 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.5422, allocations: 11.91 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.517e-05/0.5423, allocations: 11.98 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.5424, allocations: 39.86 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.5426, allocations: 19.98 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.5427, allocations: 19.92 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.5428, allocations: 19.92 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.543, allocations: 4 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.543, allocations: 4 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.543, allocations: 4 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.5431, allocations: 19.86 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.5432, allocations: 44.08 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5432, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5432, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.5433, allocations: 4 kB / 1.168 GB, free: 5.582 MB / 0.92 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.001033/0.5443, allocations: 367.3 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.5444, allocations: 12.03 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.5444, allocations: 30.75 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.5445, allocations: 12.89 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.5447, allocations: 164.3 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5448, allocations: 4.375 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.5448, allocations: 4.375 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.5452, allocations: 70.2 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5452, allocations: 3.938 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.5452, allocations: 7.938 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5453, allocations: 4 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.5456, allocations: 59.92 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.5462, allocations: 276.8 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.5466, allocations: 54.53 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.5468, allocations: 44.91 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5469, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.5469, allocations: 38.56 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.5469, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0007781/0.5477, allocations: 125.5 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.5478, allocations: 51.41 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.5479, allocations: 117.8 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.548, allocations: 25.7 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.548, allocations: 88.12 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5481, allocations: 11.91 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.5482, allocations: 13.72 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5484, allocations: 314.8 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.5486, allocations: 31.95 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5488, allocations: 31.97 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.5492, allocations: 76.98 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5492, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004809/0.5497, allocations: 101.6 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5498, allocations: 4 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5498, allocations: 0 / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5498, allocations: 4 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.55, allocations: 15.97 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.55, allocations: 320 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.5501, allocations: 15.98 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5502, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 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 0.0001399/0.5503, allocations: 120.4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.5504, allocations: 3.953 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.441e-05/0.5505, allocations: 11.91 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5505, allocations: 3.984 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5505, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5505, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.5509, allocations: 173.6 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5509, allocations: 3.938 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.5511, allocations: 19.98 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.5511, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.5511, allocations: 7.938 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5511, allocations: 3.984 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5511, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.5517, allocations: 191.4 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.5518, allocations: 89.06 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.5518, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.552, allocations: 7.984 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.552, allocations: 7.984 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.5521, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.548e-05/0.5522, allocations: 95.25 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5522, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004157/0.5526, allocations: 7.938 kB / 1.171 GB, free: 2.375 MB / 0.92 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.001312/0.5539, allocations: 0.7357 MB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.5545, allocations: 71.92 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5545, allocations: 0 / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.5548, allocations: 39.89 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.5553, allocations: 8 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.5562, allocations: 151.1 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.5568, allocations: 0.6807 MB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.812e-05/0.5569, allocations: 0 / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.557, allocations: 19.42 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of SimCode: time 1.062e-06/0.557, allocations: 0 / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05394/0.6109, allocations: 1.614 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.31, allocations: 5.812 kB / 1.174 GB, free: 15.05 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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