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.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.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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.507/2.507, allocations: 437.1 MB / 0.7104 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 0.8694 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5387, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001841/0.5405, allocations: 0.825 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.525e-05/0.5406, allocations: 47.78 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.5407, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.5407, allocations: 11.86 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.5408, allocations: 11.88 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.489e-05/0.5409, allocations: 15.98 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.541, allocations: 63.84 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.5411, allocations: 39.97 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.5412, allocations: 31.84 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.5412, allocations: 27.8 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.5412, allocations: 4 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.5412, allocations: 8 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.5413, allocations: 19.92 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.5413, allocations: 27.75 kB / 1.019 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.5414, allocations: 81.94 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5414, allocations: 4 kB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5414, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.5414, allocations: 0 / 1.019 GB, free: 1.324 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.0003487/0.5418, allocations: 379.2 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5418, allocations: 8.031 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.5419, allocations: 42.73 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.5419, allocations: 8.844 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.5421, allocations: 196.2 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5421, allocations: 8.359 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5421, allocations: 8.375 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.5422, allocations: 93.42 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5423, allocations: 3.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5423, allocations: 7.938 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5423, allocations: 4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.5424, allocations: 35.92 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.5428, allocations: 432.6 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.5429, allocations: 37.34 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.5429, allocations: 25.77 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.5429, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.543, allocations: 34.56 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.543, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.5431, allocations: 53.48 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.5432, allocations: 85.09 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5433, allocations: 163.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.5433, allocations: 25.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.5434, allocations: 112 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.5434, allocations: 11.84 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.5434, allocations: 17.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.5435, allocations: 318.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.5435, allocations: 11.98 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.5436, allocations: 17.72 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.5436, allocations: 25.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5436, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.838e-05/0.5437, allocations: 65.62 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5437, allocations: 7.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.5437, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5437, allocations: 3.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.5438, allocations: 8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.5438, allocations: 4.062 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.5438, allocations: 15.84 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.5438, allocations: 0 / 1.021 GB, free: 14.82 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.363e-05/0.5439, allocations: 113.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.544, allocations: 11.84 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.544, allocations: 15.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.544, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.544, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.544, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.5443, allocations: 478.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5444, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.5444, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5444, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.5444, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5444, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5444, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.433e-05/0.5445, allocations: 81.91 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.5445, allocations: 92.94 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5446, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.5446, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.5446, allocations: 3.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.5446, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.829e-05/0.5447, allocations: 125.5 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5447, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001861/0.5449, allocations: 8 kB / 1.022 GB, free: 13.79 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.0002885/0.5452, allocations: 0.6093 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.5453, allocations: 23.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5453, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.5453, allocations: 8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.5454, allocations: 11.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.5464, allocations: 1.322 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.5466, allocations: 0.6885 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.5467, allocations: 8.422 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.5467, allocations: 23.44 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5467, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/0.9335, allocations: 1.547 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.06, allocations: 7.938 kB / 1.026 GB, free: 9.457 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