Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_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.001178/0.001178, 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.001185/0.001185, allocations: 195 kB / 16.14 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.398/2.398, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 71.72 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2278, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001935/0.2298, allocations: 0.8841 MB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.2299, allocations: 39.84 kB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.23, allocations: 0 / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.23, allocations: 11.92 kB / 1.053 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.2301, allocations: 3.938 kB / 1.053 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.474e-05/0.2301, allocations: 16 kB / 1.053 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.2302, allocations: 59.78 kB / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2304, allocations: 47.97 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.2304, allocations: 23.86 kB / 1.053 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.2305, allocations: 23.86 kB / 1.053 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.2305, allocations: 4 kB / 1.053 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2305, allocations: 4 kB / 1.053 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.2305, allocations: 11.92 kB / 1.053 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.2306, allocations: 39.73 kB / 1.053 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.581e-05/0.2307, allocations: 63.98 kB / 1.053 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2307, allocations: 4 kB / 1.053 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2307, allocations: 0 / 1.053 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2307, allocations: 4 kB / 1.053 GB, free: 6.988 MB / 0.8106 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.000403/0.2311, allocations: 375.3 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2312, allocations: 15.97 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.2312, allocations: 38.73 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.2312, allocations: 8.844 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2314, allocations: 196.2 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2315, allocations: 12.28 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2315, allocations: 8.312 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2316, allocations: 95.89 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2316, allocations: 3.938 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2317, allocations: 4 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2317, allocations: 0 / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.2317, allocations: 39.92 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.2322, allocations: 436.5 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.2323, allocations: 41.14 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.2323, allocations: 25.88 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.2323, allocations: 0 / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2324, allocations: 34.56 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2324, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.2325, allocations: 57.48 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2326, allocations: 81.09 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2327, allocations: 165.7 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2327, allocations: 25.7 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.2328, allocations: 100 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-06/0.2328, allocations: 8.156 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2328, allocations: 21.7 kB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.2329, allocations: 318.8 kB / 1.055 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.233, allocations: 7.984 kB / 1.055 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.233, allocations: 17.72 kB / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.233, allocations: 25.66 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.233, allocations: 4 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.2331, allocations: 61.59 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2331, allocations: 16.97 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2331, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2332, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.2332, allocations: 4 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2332, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.2333, allocations: 7.844 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2333, allocations: 7.984 kB / 1.056 GB, free: 4.496 MB / 0.8106 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.553e-05/0.2333, allocations: 113.9 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.2334, allocations: 11.94 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.2334, allocations: 19.84 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2334, allocations: 3.938 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2334, allocations: 4 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2334, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.2338, allocations: 474.8 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2338, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.2338, allocations: 4 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2338, allocations: 0 / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.2338, allocations: 0 / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2338, allocations: 3.984 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2338, allocations: 0 / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.2339, allocations: 85.84 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.234, allocations: 88.94 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.234, allocations: 8 kB / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.234, allocations: 0 / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.234, allocations: 0 / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.234, allocations: 0 / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.222e-05/0.2341, allocations: 121.9 kB / 1.056 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2341, allocations: 0 / 1.056 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001807/0.2343, allocations: 8 kB / 1.056 GB, free: 3.457 MB / 0.8106 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.0003347/0.2346, allocations: 0.621 MB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.2347, allocations: 12 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2347, allocations: 0 / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.2348, allocations: 12.09 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.2349, allocations: 15.92 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.236, allocations: 1.34 MB / 1.058 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2362, allocations: 0.6965 MB / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.2362, allocations: 8.422 kB / 1.059 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2363, allocations: 23.44 kB / 1.059 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.2363, allocations: 0 / 1.059 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009694/0.246, allocations: 1.422 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.2462, allocations: 217.2 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.719, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches