Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_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.000745/0.0007453, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.004488/0.004488, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.575, allocations: 142.4 MB / 0.9552 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0007966/0.5758, allocations: 0.5343 MB / 0.9557 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.621e-05/0.5759, allocations: 33.56 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.576, allocations: 1.375 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.576, allocations: 7.875 kB / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.5761, allocations: 13.17 kB / 0.9557 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.352e-05/0.5761, allocations: 14.78 kB / 0.9558 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.5762, allocations: 55.03 kB / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.5763, allocations: 42.8 kB / 0.9559 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.5763, allocations: 21.92 kB / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.5764, allocations: 27.83 kB / 0.9559 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.5764, allocations: 2.062 kB / 0.9559 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.5764, allocations: 1.281 kB / 0.9559 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.5764, allocations: 10.81 kB / 0.9559 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.5765, allocations: 46.27 kB / 0.956 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.5765, allocations: 74.92 kB / 0.956 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5765, allocations: 0 / 0.956 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5766, allocations: 1.469 kB / 0.956 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5766, allocations: 0 / 0.956 GB, free: 6.871 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.0002801/0.5769, allocations: 364.6 kB / 0.9564 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5769, allocations: 9.375 kB / 0.9564 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.5769, allocations: 41.5 kB / 0.9564 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.577, allocations: 16.95 kB / 0.9564 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.5771, allocations: 195.5 kB / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.5771, allocations: 2.812 kB / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.5771, allocations: 10.62 kB / 0.9566 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.5773, allocations: 93.58 kB / 0.9567 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5773, allocations: 3.938 kB / 0.9567 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.5773, allocations: 5.156 kB / 0.9567 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5773, allocations: 1.969 kB / 0.9567 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.5774, allocations: 43.89 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.5777, allocations: 441.8 kB / 0.9572 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.5778, allocations: 34.22 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.5778, allocations: 22.84 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.5778, allocations: 1.094 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.5778, allocations: 35.88 kB / 0.9573 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5779, allocations: 0 / 0.9573 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001255/0.578, allocations: 62 kB / 0.9574 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.578, allocations: 78.2 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5781, allocations: 161.4 kB / 0.9576 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.5781, allocations: 25.7 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.5782, allocations: 113.1 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.5782, allocations: 5.312 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.5782, allocations: 15.22 kB / 0.9577 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.5783, allocations: 320.2 kB / 0.958 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.5783, allocations: 7.781 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.5783, allocations: 14.16 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.5783, allocations: 34.8 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5783, allocations: 0 / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.876e-05/0.5784, allocations: 54.83 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5784, allocations: 13.72 kB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5784, allocations: 0 / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.5785, allocations: 4.969 kB / 0.9582 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.5785, allocations: 10.48 kB / 0.9582 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.5785, allocations: 0 / 0.9582 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.5786, allocations: 6.688 kB / 0.9582 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.5786, allocations: 1.438 kB / 0.9582 GB, free: 4.66 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.292e-05/0.5786, allocations: 116.5 kB / 0.9583 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.5787, allocations: 12 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.5787, allocations: 11.22 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5787, allocations: 0.9688 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5787, allocations: 1.062 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5787, allocations: 3.984 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.579, allocations: 470.1 kB / 0.9588 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.579, allocations: 1.188 kB / 0.9588 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.579, allocations: 7.594 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.579, allocations: 0 / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.579, allocations: 1.188 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.579, allocations: 1.25 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.579, allocations: 0 / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.403e-05/0.5791, allocations: 82.33 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.5791, allocations: 96.45 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5791, allocations: 1.031 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.5791, allocations: 1.125 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.5792, allocations: 5.047 kB / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.5792, allocations: 5.188 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.5792, allocations: 119.6 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5792, allocations: 0 / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000176/0.5794, allocations: 6.625 kB / 0.9591 GB, free: 3.715 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.0002209/0.5796, allocations: 0.6201 MB / 0.9597 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.383e-05/0.5797, allocations: 17.86 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5797, allocations: 1.281 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.5797, allocations: 11.72 kB / 0.9597 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.5799, allocations: 7.562 kB / 0.9597 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.5807, allocations: 1.34 MB / 0.961 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.588e-05/0.5808, allocations: 0.6952 MB / 0.9617 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.5808, allocations: 8.75 kB / 0.9617 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.5808, allocations: 34.27 kB / 0.9618 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5808, allocations: 1.625 kB / 0.9618 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009189/0.59, allocations: 1.347 MB / 0.9631 GB, free: 460 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.5902, allocations: 211.3 kB / 0.9633 GB, free: 196 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.384, allocations: 0 / 0.9633 GB, free: 196 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches