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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001412/0.001412, allocations: 187 kB / 17.34 MB, free: 5.742 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.13 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 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7898, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001867/0.7917, allocations: 0.8281 MB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.7919, allocations: 38.16 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.7919, allocations: 5.562 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.792, allocations: 9.844 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.792, allocations: 17.02 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.711e-05/0.7921, allocations: 21.83 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.7922, allocations: 57.89 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.7924, allocations: 42.67 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.7924, allocations: 25.73 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.7925, allocations: 31.56 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.7925, allocations: 9.594 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.7925, allocations: 5.75 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.7925, allocations: 12.72 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.7926, allocations: 32.3 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.7927, allocations: 75.77 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7927, allocations: 0 / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7927, allocations: 4 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7927, allocations: 0 / 1.09 GB, free: 4.746 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.0003674/0.7931, allocations: 377.2 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7931, allocations: 9.125 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.7932, allocations: 15.02 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7934, allocations: 191.6 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.7934, allocations: 7.812 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.7934, allocations: 5.172 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.7935, allocations: 99.42 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7936, allocations: 192 / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7936, allocations: 5.094 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7936, allocations: 2.219 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.7937, allocations: 35.02 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.7942, allocations: 439.3 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.7942, allocations: 45.36 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.7943, allocations: 23.8 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.7943, allocations: 1.156 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.7943, allocations: 36.41 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7943, allocations: 4 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001584/0.7945, allocations: 57.09 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.7945, allocations: 79.03 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.7946, allocations: 158.3 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.7946, allocations: 26.8 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.7947, allocations: 102.6 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/0.7947, allocations: 5.703 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.7947, allocations: 18.58 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.7948, allocations: 323.5 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.7948, allocations: 8.094 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.7948, allocations: 20.64 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.7949, allocations: 31.52 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7949, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.571e-05/0.795, allocations: 57.95 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.795, allocations: 4.875 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.795, allocations: 5.312 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.795, allocations: 4.875 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.7951, allocations: 6.281 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7951, allocations: 5.359 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.7951, allocations: 6.188 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.7951, allocations: 1.094 kB / 1.092 GB, free: 2.68 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 5.688e-05/0.7952, allocations: 115.4 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.7953, allocations: 12.34 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.7953, allocations: 16.58 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7953, allocations: 0.625 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7953, allocations: 1.328 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7953, allocations: 0.875 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.7956, allocations: 470.9 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7956, allocations: 64 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.7957, allocations: 7.828 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7957, allocations: 0.9375 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.7957, allocations: 1.734 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7957, allocations: 5.031 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.7957, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.734e-05/0.7958, allocations: 81.31 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.7958, allocations: 103.2 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7958, allocations: 1.219 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.7958, allocations: 0.7969 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.7959, allocations: 1.281 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.7959, allocations: 1.922 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.835e-05/0.796, allocations: 121.9 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.796, allocations: 0 / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001895/0.7962, allocations: 6.844 kB / 1.093 GB, free: 1.762 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 9.64e-05/0.7963, allocations: 101.6 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.7964, allocations: 24.38 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7964, allocations: 0 / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.7964, allocations: 9.094 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.7966, allocations: 15.98 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.7968, allocations: 184.4 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.797, allocations: 0.6969 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.7971, allocations: 15 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7971, allocations: 1.25 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.002694/0.7998, allocations: 0.8645 MB / 1.095 GB, free: 16.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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