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.009325/0.009325, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.00177/0.00177, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.086, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002173/1.089, allocations: 0.8236 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001173/1.089, allocations: 45.05 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/1.089, allocations: 5.031 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/1.089, allocations: 10.31 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.181e-05/1.089, allocations: 9.234 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.691e-05/1.089, allocations: 17.55 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/1.089, allocations: 62.53 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/1.089, allocations: 41.75 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/1.089, allocations: 26.92 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/1.089, allocations: 30.25 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/1.089, allocations: 6.188 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/1.089, allocations: 10.41 kB / 1.089 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/1.089, allocations: 16.48 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/1.089, allocations: 36.84 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/1.09, allocations: 69.5 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.09, allocations: 1.641 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.265e-06/1.09, allocations: 0 / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.978e-06/1.09, allocations: 0 / 1.089 GB, free: 4.754 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.0003987/1.09, allocations: 382.3 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.09, allocations: 8.312 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/1.09, allocations: 10.91 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.09, allocations: 195.8 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.09, allocations: 7.719 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/1.09, allocations: 9.672 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/1.091, allocations: 86.27 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.091, allocations: 5.281 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.091, allocations: 7.938 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.091, allocations: 2.625 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/1.091, allocations: 36.25 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/1.091, allocations: 441.9 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/1.091, allocations: 37.98 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/1.091, allocations: 24.95 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/1.091, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.091, allocations: 41.36 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/1.091, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/1.092, allocations: 52.14 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/1.092, allocations: 86.91 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/1.092, allocations: 155.3 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/1.092, allocations: 26.41 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/1.092, allocations: 116.7 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/1.092, allocations: 5.547 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/1.092, allocations: 21.67 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.494e-05/1.092, allocations: 315.8 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/1.092, allocations: 7.844 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/1.092, allocations: 20.8 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/1.092, allocations: 27.05 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.092, allocations: 3.938 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.631e-05/1.092, allocations: 61.41 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.092, allocations: 8.344 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.092, allocations: 4.656 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.092, allocations: 0.625 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/1.092, allocations: 7.609 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.092, allocations: 4.719 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/1.092, allocations: 10.14 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/1.092, allocations: 5.562 kB / 1.091 GB, free: 2.664 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.924e-05/1.092, allocations: 114.4 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/1.092, allocations: 9.156 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/1.092, allocations: 11.94 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.092, allocations: 5.734 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.092, allocations: 0 / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.092, allocations: 1.297 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/1.093, allocations: 474.6 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.093, allocations: 1.156 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/1.093, allocations: 3.75 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.093, allocations: 0.875 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/1.093, allocations: 1.406 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.093, allocations: 3.938 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.093, allocations: 1.609 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.044e-05/1.093, allocations: 89.11 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/1.093, allocations: 86.2 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/1.093, allocations: 1.609 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/1.093, allocations: 1.094 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/1.093, allocations: 1.672 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.093, allocations: 1.156 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.032e-05/1.093, allocations: 121 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.093, allocations: 4.031 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001893/1.093, allocations: 14.48 kB / 1.092 GB, free: 1.746 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.6e-05/1.093, allocations: 98.06 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001193/1.094, allocations: 20.84 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.094, allocations: 0 / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/1.094, allocations: 4.453 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/1.094, allocations: 13.72 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/1.094, allocations: 166.4 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/1.094, allocations: 0.6925 MB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.671e-05/1.094, allocations: 7.625 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/1.094, allocations: 10.72 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.094, allocations: 0 / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Templates: time 0.002602/1.097, allocations: 465.9 kB / 1.094 GB, free: 0.6953 MB / 0.8575 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/jenkins/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