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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.006972/0.006972, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001448/0.001449, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.601/1.601, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.966/2.966, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3901, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002092/0.3923, allocations: 0.8334 MB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.3924, allocations: 43.8 kB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.3925, allocations: 0 / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.3925, allocations: 7.875 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.3926, allocations: 11.92 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.791e-05/0.3927, allocations: 15.98 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3928, allocations: 71.77 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.393, allocations: 39.98 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.3931, allocations: 27.86 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.3931, allocations: 27.8 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.3932, allocations: 12 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.3932, allocations: 4 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.3932, allocations: 15.92 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.3933, allocations: 31.75 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3934, allocations: 83.56 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3934, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3934, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.3934, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 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.0005245/0.394, allocations: 383 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.394, allocations: 12.03 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3941, allocations: 12.84 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3943, allocations: 196.2 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3943, allocations: 8.375 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3943, allocations: 4.375 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3945, allocations: 89.98 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3945, allocations: 4.188 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3945, allocations: 11.88 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3946, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.3947, allocations: 39.92 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.3952, allocations: 440.6 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.3953, allocations: 37.28 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.3953, allocations: 25.84 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3954, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3954, allocations: 30.56 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.3954, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/0.3956, allocations: 61.52 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3956, allocations: 81.3 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3958, allocations: 164.1 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3958, allocations: 25.7 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.3959, allocations: 100.1 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.3959, allocations: 11.89 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.3959, allocations: 13.72 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3961, allocations: 322.8 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.3961, allocations: 4 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.3961, allocations: 21.72 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.3962, allocations: 29.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3962, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.827e-05/0.3962, allocations: 57.55 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3963, allocations: 8 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3963, allocations: 3.938 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3963, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3964, allocations: 12.05 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3964, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.3964, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3964, allocations: 8 kB / 1.17 GB, free: 3.164 MB / 0.92 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 8.472e-05/0.3965, allocations: 109.8 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.3966, allocations: 7.953 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.3966, allocations: 15.81 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3966, allocations: 3.938 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3966, allocations: 4 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3966, allocations: 7.984 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.397, allocations: 478.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3971, allocations: 4 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.3971, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3971, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3971, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3971, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3971, allocations: 160 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.3972, allocations: 89.86 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3973, allocations: 85.06 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3973, allocations: 4 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.3973, allocations: 3.938 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.3974, allocations: 3.984 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.3974, allocations: 4.031 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3975, allocations: 119.9 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3975, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000195/0.3977, allocations: 11.94 kB / 1.171 GB, free: 2.109 MB / 0.92 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.0001822/0.3979, allocations: 99.25 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.398, allocations: 20 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.398, allocations: 0 / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.398, allocations: 12.06 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.3982, allocations: 11.94 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.3986, allocations: 158.5 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3989, allocations: 0.6929 MB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.141e-05/0.399, allocations: 8.422 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.399, allocations: 15.56 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.399, allocations: 0 / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of Templates: time 0.003197/0.4022, allocations: 456.5 kB / 1.172 GB, free: 0.582 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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