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.01033/0.01033, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002097/0.002097, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.69/2.69, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.047, allocations: 151.7 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001944/1.049, allocations: 0.8182 MB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/1.049, allocations: 51.78 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/1.049, allocations: 0 / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/1.049, allocations: 11.86 kB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/1.049, allocations: 7.875 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.874e-05/1.049, allocations: 15.98 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/1.049, allocations: 63.84 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/1.05, allocations: 47.95 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/1.05, allocations: 23.88 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/1.05, allocations: 27.84 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/1.05, allocations: 8 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/1.05, allocations: 4 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/1.05, allocations: 19.88 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/1.05, allocations: 31.8 kB / 1.168 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/1.05, allocations: 72.2 kB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.05, allocations: 7.938 kB / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/1.05, allocations: 0 / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.05, allocations: 0 / 1.168 GB, free: 2.609 MB / 0.8887 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.0004527/1.05, allocations: 383.1 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.05, allocations: 12.92 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/1.051, allocations: 12.84 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/1.051, allocations: 188.2 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.051, allocations: 8.375 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.051, allocations: 12.31 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/1.051, allocations: 98.38 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/1.051, allocations: 192 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.051, allocations: 7.938 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.051, allocations: 7.938 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/1.051, allocations: 27.98 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/1.052, allocations: 440.6 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/1.052, allocations: 41.28 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/1.052, allocations: 25.83 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/1.052, allocations: 0 / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.052, allocations: 34.56 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.052, allocations: 3.938 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/1.052, allocations: 53.59 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/1.052, allocations: 81.05 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/1.052, allocations: 160.7 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.052, allocations: 25.7 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/1.052, allocations: 104 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/1.052, allocations: 8.203 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/1.052, allocations: 17.72 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.053, allocations: 322.8 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/1.053, allocations: 8 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/1.053, allocations: 17.7 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/1.053, allocations: 25.72 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.053, allocations: 8 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.343e-05/1.053, allocations: 69.47 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.053, allocations: 4 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.053, allocations: 3.938 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/1.053, allocations: 0 / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/1.053, allocations: 8 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.053, allocations: 0 / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/1.053, allocations: 7.938 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/1.053, allocations: 4 kB / 1.17 GB, free: 168 kB / 0.8887 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.58e-05/1.053, allocations: 121.8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/1.053, allocations: 7.953 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/1.053, allocations: 11.8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.053, allocations: 4 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.053, allocations: 0 / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/1.053, allocations: 0 / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/1.053, allocations: 478.8 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.053, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/1.054, allocations: 11.92 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.054, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/1.054, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.054, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.054, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.128e-05/1.054, allocations: 81.91 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/1.054, allocations: 96.98 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/1.054, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/1.054, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/1.054, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/1.054, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.72e-05/1.054, allocations: 121.7 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001841/1.054, allocations: 4 kB / 1.171 GB, free: 15.12 MB / 0.9044 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.0001154/1.054, allocations: 107.3 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/1.054, allocations: 15.94 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.054, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/1.054, allocations: 7.984 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/1.054, allocations: 14 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/1.055, allocations: 162.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/1.055, allocations: 0.7079 MB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.874e-05/1.055, allocations: 4.438 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/1.055, allocations: 11.44 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.055, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.002322/1.057, allocations: 468.4 kB / 1.172 GB, free: 13.57 MB / 0.9044 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=480 -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