Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00923/0.00923, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001729/0.001729, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.515/2.515, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.14 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3684, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002072/0.3705, allocations: 0.8254 MB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.3706, allocations: 47.78 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.3707, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.3707, allocations: 7.875 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.3708, allocations: 11.86 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-05/0.3709, allocations: 19.98 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.371, allocations: 63.84 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3712, allocations: 35.97 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.3712, allocations: 31.84 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.3713, allocations: 31.84 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3713, allocations: 8 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.3713, allocations: 4 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.3714, allocations: 19.88 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.3714, allocations: 39.73 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.3715, allocations: 71.58 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3715, allocations: 4 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3715, allocations: 3.938 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3716, allocations: 0 / 1.089 GB, free: 240 kB / 0.8419 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.0004659/0.372, allocations: 387.1 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3721, allocations: 8.031 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3721, allocations: 12.89 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3723, allocations: 188.2 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3724, allocations: 4.375 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3724, allocations: 8.375 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3725, allocations: 95.94 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3725, allocations: 4.125 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3726, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3726, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.3727, allocations: 35.98 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.3732, allocations: 428.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.3733, allocations: 45.09 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.3733, allocations: 17.84 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.3733, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3734, allocations: 42.48 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3734, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.3736, allocations: 53.81 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3736, allocations: 85.08 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3738, allocations: 162.3 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3738, allocations: 25.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.3739, allocations: 108 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.3739, allocations: 11.88 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.3739, allocations: 17.72 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.374, allocations: 322.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.3741, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.3741, allocations: 21.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.3741, allocations: 21.72 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3741, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.834e-05/0.3742, allocations: 57.59 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3742, allocations: 9.719 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3743, allocations: 12 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3743, allocations: 3.984 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.3743, allocations: 8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3743, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.3744, allocations: 7.891 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3744, allocations: 4 kB / 1.091 GB, free: 13.8 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 8.139e-05/0.3745, allocations: 113.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3745, allocations: 11.89 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.3746, allocations: 15.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3746, allocations: 8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3746, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3746, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.375, allocations: 466.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.375, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.375, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.375, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.375, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.375, allocations: 4.062 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.375, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.962e-05/0.3751, allocations: 85.81 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.3752, allocations: 81.06 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3752, allocations: 7.984 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.3752, allocations: 96 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.3752, allocations: 12.02 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3753, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.125e-05/0.3754, allocations: 119.2 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3754, allocations: 3.938 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001868/0.3756, allocations: 15.89 kB / 1.092 GB, free: 12.75 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.0001104/0.3757, allocations: 99.78 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.3758, allocations: 15.94 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3758, allocations: 4.125 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-06/0.3758, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.3759, allocations: 15.92 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.3763, allocations: 158.8 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3765, allocations: 0.6924 MB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.3766, allocations: 12.55 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.3766, allocations: 11.44 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3766, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of Templates: time 0.002697/0.3793, allocations: 469.9 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches