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.001782/0.001782, allocations: 108 kB / 15.61 MB, free: 148 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.002044/0.002044, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.411/2.411, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5511, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001939/0.5531, allocations: 0.6981 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.554, allocations: 0.8 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.5541, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.5541, allocations: 3.938 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.5542, allocations: 7.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.41e-05/0.5542, allocations: 11.98 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.515e-05/0.5543, allocations: 47.84 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.5544, allocations: 8 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.5545, allocations: 11.98 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.5545, allocations: 27.86 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.5546, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.5546, allocations: 7.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.5546, allocations: 15.97 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.5546, allocations: 15.92 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.917e-05/0.5547, allocations: 43.81 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5547, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5547, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5547, allocations: 0 / 1.019 GB, free: 0.7773 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.0004772/0.5552, allocations: 361.5 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5553, allocations: 8.031 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.5553, allocations: 34.75 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.5553, allocations: 4.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5555, allocations: 168.3 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5555, allocations: 8.375 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.5555, allocations: 4.375 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.5557, allocations: 66.22 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5558, allocations: 7.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.5558, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5558, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.5561, allocations: 71.86 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.5564, allocations: 264.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.5566, allocations: 58.53 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5568, allocations: 40.92 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.5568, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5568, allocations: 34.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.5568, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005472/0.5574, allocations: 141.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.5574, allocations: 51.41 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.5575, allocations: 109.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5575, allocations: 25.7 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.5576, allocations: 96.06 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5576, allocations: 11.84 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.5577, allocations: 21.7 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.5578, allocations: 310.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.5579, allocations: 27.97 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.5581, allocations: 39.89 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.5584, allocations: 72.72 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5584, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.5587, allocations: 97.53 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5587, allocations: 11.94 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5587, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5588, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.5589, allocations: 15.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.5589, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.559, allocations: 11.97 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.559, allocations: 4.312 kB / 1.021 GB, free: 14.4 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.824e-05/0.5591, allocations: 113.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.5591, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.5591, allocations: 11.91 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.5591, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5591, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5592, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.5593, allocations: 177.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5593, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.5594, allocations: 15.98 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5594, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.5595, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5595, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5595, allocations: 8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.5598, allocations: 195.4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.5599, allocations: 81.11 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.5599, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.56, allocations: 15.98 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.5601, allocations: 3.938 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.5601, allocations: 3.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.5601, allocations: 91.27 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5601, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000222/0.5603, allocations: 8 kB / 1.022 GB, free: 13.59 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.0006409/0.561, allocations: 0.7318 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.5613, allocations: 72.14 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5614, allocations: 7.938 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.5615, allocations: 35.95 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.5618, allocations: 4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.5622, allocations: 161.1 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.5625, allocations: 0.6884 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.5625, allocations: 3.984 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.5626, allocations: 11.44 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.5626, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.5785, allocations: 1.583 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/7.31, allocations: 8.953 kB / 1.025 GB, free: 10.26 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 & 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