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.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.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.009857/0.009857, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001954/0.001954, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.842/1.842, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.508/3.508, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002243, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739/1.742, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.003716/1.745, allocations: 0.8226 MB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001949/1.746, allocations: 40.53 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/1.746, allocations: 1.344 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.032e-05/1.746, allocations: 10.92 kB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/1.746, allocations: 9.141 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.252e-05/1.746, allocations: 20.22 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/1.746, allocations: 59.66 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/1.747, allocations: 42.7 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/1.747, allocations: 29.23 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/1.747, allocations: 34.62 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/1.747, allocations: 5.469 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/1.747, allocations: 10.53 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/1.747, allocations: 12.59 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/1.747, allocations: 32.52 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/1.747, allocations: 78.55 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.747, allocations: 0 / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.816e-06/1.747, allocations: 0 / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.777e-06/1.747, allocations: 0 / 1.089 GB, free: 4.531 MB / 0.8575 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.000609/1.748, allocations: 384.7 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.888e-05/1.748, allocations: 10.06 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.143e-05/1.748, allocations: 42.44 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/1.748, allocations: 14.14 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/1.749, allocations: 188.5 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.749, allocations: 11.52 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.749, allocations: 5.531 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/1.749, allocations: 94.64 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.749, allocations: 4.641 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/1.749, allocations: 4.719 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.749, allocations: 6.062 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/1.749, allocations: 39.72 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/1.75, allocations: 438.2 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/1.75, allocations: 38.08 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/1.75, allocations: 27.89 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/1.75, allocations: 1.719 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.75, allocations: 32.08 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/1.751, allocations: 0 / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002846/1.751, allocations: 57.39 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.751, allocations: 82.7 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/1.751, allocations: 158.1 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/1.751, allocations: 26.83 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/1.751, allocations: 104.2 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/1.751, allocations: 13.44 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/1.751, allocations: 13.42 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.751, allocations: 320 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/1.752, allocations: 8.625 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/1.752, allocations: 19.56 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/1.752, allocations: 30.88 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.752, allocations: 1.484 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/1.752, allocations: 56.73 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/1.752, allocations: 10.48 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.752, allocations: 0 / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.752, allocations: 1.344 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/1.752, allocations: 11.14 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.752, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/1.752, allocations: 6.922 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.752, allocations: 5.062 kB / 1.091 GB, free: 2.402 MB / 0.8575 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 9.379e-05/1.752, allocations: 112.1 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/1.752, allocations: 12.86 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/1.752, allocations: 16.8 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.752, allocations: 0 / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.752, allocations: 1.25 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.752, allocations: 6 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/1.753, allocations: 470.2 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.753, allocations: 0 / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/1.753, allocations: 7.828 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.753, allocations: 1 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.753, allocations: 1.125 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.753, allocations: 1.797 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.753, allocations: 4.062 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/1.753, allocations: 80.67 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/1.753, allocations: 95.61 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/1.753, allocations: 1.156 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/1.753, allocations: 0.5156 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/1.753, allocations: 1.75 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/1.753, allocations: 9.094 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001629/1.754, allocations: 122 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.754, allocations: 0 / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003841/1.754, allocations: 6.844 kB / 1.092 GB, free: 1.484 MB / 0.8575 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.0007871/1.755, allocations: 0.6207 MB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001728/1.755, allocations: 15.7 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.755, allocations: 0 / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/1.755, allocations: 8.906 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/1.755, allocations: 18.02 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.759, allocations: 1.329 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/1.759, allocations: 0.6916 MB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.447e-05/1.759, allocations: 11.67 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/1.76, allocations: 25.91 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 1.282e-06/1.76, allocations: 0 / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/1.811, allocations: 1.566 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.94, allocations: 7.438 kB / 1.096 GB, free: 14.52 MB / 0.8731 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