Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001223, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.264/1.264, 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.375/2.375, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5547, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001807/0.5565, allocations: 0.8881 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.169e-05/0.5567, allocations: 43.78 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.5567, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.5567, allocations: 3.938 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.5568, allocations: 7.984 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.163e-05/0.5569, allocations: 16 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.557, allocations: 63.69 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5571, allocations: 39.97 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.5571, allocations: 23.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.5572, allocations: 23.86 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.5572, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.5572, allocations: 7.938 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.5572, allocations: 11.98 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.5573, allocations: 35.67 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.028e-05/0.5573, allocations: 70.02 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5574, allocations: 8 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5574, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5574, allocations: 0 / 1.018 GB, free: 1.527 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003569/0.5577, allocations: 373.2 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.5578, allocations: 12.03 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.5578, allocations: 38.73 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.5578, allocations: 12.84 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.558, allocations: 188.2 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.558, allocations: 16.31 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.558, allocations: 4.375 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.5582, allocations: 101.7 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.5582, allocations: 3.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.5582, allocations: 7.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5582, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/0.5583, allocations: 35.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.5587, allocations: 444.6 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.5588, allocations: 33.31 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.5588, allocations: 25.7 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.5588, allocations: 4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5588, allocations: 30.56 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5588, allocations: 4 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.559, allocations: 53.48 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.559, allocations: 77.11 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5592, allocations: 164.1 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5592, allocations: 25.95 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.5592, allocations: 108 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.5593, allocations: 7.906 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.5593, allocations: 13.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.5594, allocations: 322.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.5594, allocations: 8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.5594, allocations: 25.62 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.5595, allocations: 29.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5595, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.534e-05/0.5596, allocations: 61.53 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5596, allocations: 7.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5596, allocations: 3.984 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.5596, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.5596, allocations: 8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5597, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.5597, allocations: 11.97 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.5597, allocations: 7.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 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 6.183e-05/0.5598, allocations: 110.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.5598, allocations: 15.84 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.5598, allocations: 7.859 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.5599, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5599, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.5599, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.5602, allocations: 474.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5602, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.5602, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5602, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5602, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.5602, allocations: 11.88 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5603, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.071e-05/0.5603, allocations: 81.89 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.5604, allocations: 96.94 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.5604, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.5604, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-06/0.5604, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.5604, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.643e-05/0.5605, allocations: 120.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5605, allocations: 4.031 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001778/0.5607, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 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.000293/0.561, allocations: 0.617 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.5611, allocations: 23.97 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5611, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.5611, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.5613, allocations: 8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009524/0.5622, allocations: 1.348 MB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.5624, allocations: 0.6926 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.5624, allocations: 8.422 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.5625, allocations: 27.38 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5625, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009475/0.572, allocations: 1.413 MB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.5722, allocations: 214.3 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.096, allocations: 4 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches