Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.008076/0.008076, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00191/0.00191, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 67.91 kB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002109/0.3444, allocations: 0.8351 MB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.3445, allocations: 39.78 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.3446, allocations: 0 / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.3446, allocations: 7.875 kB / 1.208 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.3448, allocations: 11.88 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.14e-05/0.3448, allocations: 19.98 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.3449, allocations: 59.83 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3451, allocations: 47.92 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.3452, allocations: 27.8 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.3452, allocations: 23.86 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.3453, allocations: 11.98 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.3453, allocations: 4 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3453, allocations: 23.92 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.3454, allocations: 31.81 kB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3455, allocations: 79.86 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3455, allocations: 3.938 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3455, allocations: 0 / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3455, allocations: 0 / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004499/0.346, allocations: 375.2 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.346, allocations: 12.62 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.3461, allocations: 38.73 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.3461, allocations: 12.84 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3464, allocations: 192.2 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3464, allocations: 8.375 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3464, allocations: 4.375 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3466, allocations: 95.88 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3466, allocations: 3.938 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3467, allocations: 4 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3467, allocations: 0 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.3468, allocations: 39.92 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.3474, allocations: 432.6 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.3475, allocations: 41.19 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.3475, allocations: 25.84 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3475, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3476, allocations: 38.48 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3476, allocations: 0 / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.3478, allocations: 57.48 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3479, allocations: 77.11 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.348, allocations: 163 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3481, allocations: 29.7 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.3482, allocations: 103.9 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.3482, allocations: 4 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3482, allocations: 17.62 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3483, allocations: 322.8 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.3483, allocations: 4 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.3484, allocations: 21.7 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.3484, allocations: 33.66 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3484, allocations: 3.938 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.262e-05/0.3485, allocations: 53.55 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3485, allocations: 13.5 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3486, allocations: 0 / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3486, allocations: 3.984 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.3486, allocations: 4 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3487, allocations: 8.062 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.3487, allocations: 3.938 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3487, allocations: 8 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.436e-05/0.3488, allocations: 105.8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.3488, allocations: 19.84 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.3489, allocations: 11.95 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3489, allocations: 3.984 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3489, allocations: 4 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3489, allocations: 0 / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3493, allocations: 482.7 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3493, allocations: 0 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.3493, allocations: 4 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3493, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3493, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3493, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3493, allocations: 3.938 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.3494, allocations: 81.89 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3495, allocations: 89.02 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3495, allocations: 7.984 kB / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.3495, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.3496, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.3496, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.3497, allocations: 125.9 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3497, allocations: 3.938 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001925/0.3499, allocations: 8 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003857/0.3503, allocations: 0.617 MB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.3504, allocations: 19.97 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3504, allocations: 0 / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.3504, allocations: 8 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.3505, allocations: 8 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3518, allocations: 1.335 MB / 1.213 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3521, allocations: 0.6924 MB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.3521, allocations: 8.438 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.3522, allocations: 23.42 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3522, allocations: 4 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.3701, allocations: 1.609 MB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.811, allocations: 5.094 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches