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.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.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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001137/0.001137, allocations: 194 kB / 16.14 MB, free: 6.691 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.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.222/2.222, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4507, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001688/0.4524, allocations: 0.7668 MB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.4531, allocations: 0.804 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.4531, allocations: 4 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.4531, allocations: 3.984 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.4532, allocations: 7.922 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.464e-05/0.4533, allocations: 11.98 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.137e-05/0.4533, allocations: 43.86 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.4534, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.4535, allocations: 19.86 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.4535, allocations: 27.91 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.4535, allocations: 4 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.4536, allocations: 7.938 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.4536, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.4536, allocations: 15.92 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.469e-05/0.4537, allocations: 43.86 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4537, allocations: 3.938 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4537, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.4537, allocations: 0 / 1.018 GB, free: 1.004 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.0004169/0.4541, allocations: 369.6 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.4541, allocations: 8.031 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.4542, allocations: 34.73 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.4542, allocations: 4.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.4543, allocations: 168.3 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.4543, allocations: 384 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.4543, allocations: 384 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.4545, allocations: 74.16 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4545, allocations: 7.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.4546, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4546, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.4548, allocations: 63.92 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.4551, allocations: 264.9 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.4553, allocations: 66.47 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.4555, allocations: 40.91 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4555, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4555, allocations: 38.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.4555, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004674/0.456, allocations: 129.5 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.456, allocations: 51.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.4561, allocations: 105.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.4561, allocations: 33.64 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.4562, allocations: 88.14 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.4562, allocations: 15.73 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.4562, allocations: 17.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.4563, allocations: 310.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4565, allocations: 35.95 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4566, allocations: 31.97 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.4568, allocations: 72.72 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4569, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002797/0.4571, allocations: 97.62 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.4572, allocations: 5.25 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4572, allocations: 3.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.4572, allocations: 3.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4573, allocations: 19.92 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4573, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.4574, allocations: 11.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.4574, allocations: 4 kB / 1.021 GB, free: 14.63 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.39e-05/0.4575, allocations: 117.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4575, allocations: 7.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.4575, allocations: 7.906 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4575, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4575, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.4575, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.4577, allocations: 173.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4577, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.4578, allocations: 15.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4578, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.4578, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4578, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4578, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.4581, allocations: 199.3 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.4582, allocations: 85.02 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.4582, allocations: 4.375 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.4583, allocations: 11.98 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.4583, allocations: 3.984 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4583, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.4584, allocations: 83.28 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4584, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002039/0.4586, allocations: 8 kB / 1.021 GB, free: 13.82 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.0005446/0.4591, allocations: 0.7324 MB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.4594, allocations: 71.86 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.4594, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4596, allocations: 39.95 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4598, allocations: 8 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.4602, allocations: 172.8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.4604, allocations: 0.677 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.4604, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.4605, allocations: 15.38 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.4605, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.4723, allocations: 1.359 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.4725, allocations: 196.8 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/1.874, allocations: 0 / 1.024 GB, free: 10.49 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