Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.002312/0.002312, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.002699/0.002699, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.539/1.539, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.79/2.79, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.7007, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002974/0.7037, allocations: 0.8935 MB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.7038, allocations: 43.78 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.7039, allocations: 4 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.585e-05/0.704, allocations: 11.92 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.7041, allocations: 3.938 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.464e-05/0.7042, allocations: 12 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.7043, allocations: 63.84 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.7044, allocations: 39.97 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.7045, allocations: 27.86 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.7046, allocations: 27.8 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.7046, allocations: 8 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.7046, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.7047, allocations: 19.92 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.7047, allocations: 35.78 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.7048, allocations: 69.69 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7048, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7048, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.7048, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 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.0004989/0.7053, allocations: 383.1 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7054, allocations: 8.031 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.7054, allocations: 12.84 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.7057, allocations: 192.1 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7057, allocations: 8.375 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.7057, allocations: 4.375 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.7059, allocations: 101.4 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7059, allocations: 4.188 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7059, allocations: 7.938 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7059, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.706, allocations: 35.92 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.7066, allocations: 436.5 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.7067, allocations: 37.28 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.7067, allocations: 21.84 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.7067, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.7067, allocations: 38.55 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7067, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.7069, allocations: 57.53 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.707, allocations: 77.11 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.7072, allocations: 165.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.7072, allocations: 29.64 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.7073, allocations: 111.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.7073, allocations: 12.16 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.7073, allocations: 13.72 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7075, allocations: 322.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.7075, allocations: 8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.7076, allocations: 17.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.7076, allocations: 25.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7076, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.7077, allocations: 57.55 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.7077, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7077, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7078, allocations: 3.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.7078, allocations: 8.094 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.7078, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.7079, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.7079, allocations: 7.984 kB / 1.02 GB, free: 15.03 MB / 0.7794 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.686e-05/0.708, allocations: 118.4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.708, allocations: 15.75 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.7081, allocations: 11.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7081, allocations: 8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.7081, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7081, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.7086, allocations: 474.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7086, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.7086, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7086, allocations: 3.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.7086, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7086, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7086, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.461e-05/0.7087, allocations: 81.89 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.7088, allocations: 88.95 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.7088, allocations: 7.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.7088, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.7089, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.7089, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001058/0.709, allocations: 115.9 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.709, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001843/0.7092, allocations: 8 kB / 1.021 GB, free: 13.98 MB / 0.7794 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.0001521/0.7093, allocations: 107.3 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.7094, allocations: 12 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7095, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.7095, allocations: 11.88 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.7096, allocations: 15.92 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.71, allocations: 179.1 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7103, allocations: 0.6924 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.7104, allocations: 8.422 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.7104, allocations: 15.44 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7104, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002889/0.7133, allocations: 456.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches