Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_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.001282/0.001282, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001251/0.001251, allocations: 199.3 kB / 16.26 MB, free: 6.633 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 67.89 kB / 0.8122 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.538, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001695/0.5397, allocations: 0.8775 MB / 0.9501 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.435e-05/0.5398, allocations: 36.12 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.5399, allocations: 1.781 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.5399, allocations: 7.922 kB / 0.9501 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.54, allocations: 9.312 kB / 0.9502 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.815e-05/0.54, allocations: 16.12 kB / 0.9502 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.5401, allocations: 62.88 kB / 0.9502 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.5403, allocations: 40.45 kB / 0.9503 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.5403, allocations: 28.11 kB / 0.9503 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.5403, allocations: 27.98 kB / 0.9503 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.5404, allocations: 6.875 kB / 0.9503 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.5404, allocations: 5.5 kB / 0.9503 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.5404, allocations: 18.67 kB / 0.9504 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.5404, allocations: 30.69 kB / 0.9504 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.51e-05/0.5405, allocations: 74.31 kB / 0.9505 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5405, allocations: 0 / 0.9505 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5405, allocations: 1.375 kB / 0.9505 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5405, allocations: 0 / 0.9505 GB, free: 8.246 MB / 0.7169 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.0002889/0.5408, allocations: 386.5 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5409, allocations: 13.56 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.5409, allocations: 41.48 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.5409, allocations: 8.969 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5411, allocations: 185.8 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5411, allocations: 8.438 kB / 0.9511 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.5411, allocations: 12.48 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.5412, allocations: 96.05 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5412, allocations: 7.938 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5413, allocations: 1.375 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5413, allocations: 1.375 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.5413, allocations: 36.61 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.5417, allocations: 440.5 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.5418, allocations: 41.28 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.5418, allocations: 27.23 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.5418, allocations: 5.375 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.5418, allocations: 31.94 kB / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5418, allocations: 0 / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.542, allocations: 59.23 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.542, allocations: 77.11 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.5421, allocations: 163.2 kB / 0.952 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.5421, allocations: 27.11 kB / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5421, allocations: 107.6 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.5422, allocations: 5.219 kB / 0.9522 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.5422, allocations: 21.05 kB / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.5422, allocations: 321.2 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.5423, allocations: 4.156 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.5423, allocations: 22.61 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.5423, allocations: 29.91 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5423, allocations: 0 / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.903e-05/0.5424, allocations: 60.09 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5424, allocations: 8.469 kB / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5424, allocations: 4.781 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5424, allocations: 1.625 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.5425, allocations: 5.375 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5425, allocations: 0 / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.5425, allocations: 2.5 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.5425, allocations: 1.188 kB / 0.9526 GB, free: 6.027 MB / 0.7169 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 4.47e-05/0.5426, allocations: 113.1 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.5426, allocations: 16.56 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.5427, allocations: 14.77 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5427, allocations: 5.266 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5427, allocations: 0 / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5427, allocations: 1.094 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.5429, allocations: 474.6 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5429, allocations: 3.938 kB / 0.9532 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.543, allocations: 6.906 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.543, allocations: 5.281 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.543, allocations: 1.125 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.543, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.543, allocations: 5.359 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.455e-05/0.543, allocations: 78.66 kB / 0.9533 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.5431, allocations: 92 kB / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5431, allocations: 8.031 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.5431, allocations: 1.406 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-06/0.5431, allocations: 1.312 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.5431, allocations: 1.562 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.5432, allocations: 119.6 kB / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5432, allocations: 0 / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001839/0.5434, allocations: 7.062 kB / 0.9535 GB, free: 5.07 MB / 0.7169 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.0001998/0.5436, allocations: 0.6238 MB / 0.9541 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.896e-05/0.5437, allocations: 14.5 kB / 0.9542 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5437, allocations: 1.219 kB / 0.9542 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.5437, allocations: 7.719 kB / 0.9542 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.5438, allocations: 14.86 kB / 0.9542 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.5446, allocations: 1.35 MB / 0.9555 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/0.5447, allocations: 0.6943 MB / 0.9562 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.5448, allocations: 8.703 kB / 0.9562 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.5448, allocations: 23.53 kB / 0.9562 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5448, allocations: 0 / 0.9562 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.5549, allocations: 1.462 MB / 0.9576 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/0.5551, allocations: 213.7 kB / 0.9578 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.176, allocations: 7.875 kB / 0.9578 GB, free: 1.445 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches