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.005026/0.005026, allocations: 100.9 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.001389/0.001389, allocations: 192.8 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.346/2.346, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 68.12 kB / 1.018 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6685, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001774/0.6704, allocations: 0.7096 MB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.6712, allocations: 0.8001 MB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.6713, allocations: 0 / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.6713, allocations: 3.984 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.6714, allocations: 15.86 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.629e-05/0.6715, allocations: 11.98 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.6715, allocations: 47.8 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.6716, allocations: 11.98 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.6717, allocations: 15.98 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.6718, allocations: 15.92 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.6718, allocations: 4 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.6718, allocations: 4 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.6718, allocations: 15.92 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.6719, allocations: 15.94 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.179e-05/0.672, allocations: 43.8 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.672, allocations: 3.938 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.672, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.672, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 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.0005263/0.6725, allocations: 371 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6726, allocations: 8.922 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.6726, allocations: 42.75 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.6726, allocations: 4.891 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6728, allocations: 164.4 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.6728, allocations: 384 / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.6728, allocations: 4.359 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.673, allocations: 70.22 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6731, allocations: 3.938 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.6731, allocations: 0 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.6731, allocations: 4 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.6734, allocations: 67.86 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.6737, allocations: 268.9 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.6739, allocations: 58.55 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.6741, allocations: 40.91 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.6741, allocations: 0 / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.6741, allocations: 38.5 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.6741, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005106/0.6747, allocations: 129.6 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.6747, allocations: 55.39 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.6748, allocations: 113.8 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6748, allocations: 25.7 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.6749, allocations: 94.52 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.6749, allocations: 7.906 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.6749, allocations: 17.72 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6751, allocations: 318.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.6752, allocations: 31.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.6754, allocations: 31.95 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.6757, allocations: 76.67 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6757, allocations: 3.938 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003138/0.676, allocations: 97.56 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.676, allocations: 7.984 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.676, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.676, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6762, allocations: 15.98 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6762, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.6763, allocations: 7.984 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.6763, allocations: 4 kB / 1.17 GB, free: 15.63 MB / 0.9044 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.546e-05/0.6764, allocations: 113.8 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.6764, allocations: 7.953 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.6764, allocations: 15.83 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6764, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6764, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6765, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.6766, allocations: 173.6 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.6766, allocations: 4 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.6767, allocations: 19.97 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6768, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.6768, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.6768, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6768, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.6771, allocations: 195.4 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.6772, allocations: 81.06 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.6772, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.6773, allocations: 19.97 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.6774, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.6774, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.6774, allocations: 91.2 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6775, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000205/0.6777, allocations: 8 kB / 1.171 GB, free: 14.8 MB / 0.9044 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.0006982/0.6784, allocations: 0.7322 MB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.6787, allocations: 63.92 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6787, allocations: 7.938 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.6789, allocations: 36.11 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.6791, allocations: 12.03 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.6795, allocations: 155 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.6798, allocations: 0.6845 MB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.6799, allocations: 4 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.6799, allocations: 19.42 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6799, allocations: 0 / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.6994, allocations: 1.61 MB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.91, allocations: 6.562 kB / 1.174 GB, free: 11.48 MB / 0.9044 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=400 --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