Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00829/0.00829, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001905/0.001905, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.511/1.511, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.7 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002181/0.3132, allocations: 0.8687 MB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.3133, allocations: 43.78 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.3134, allocations: 4 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.3135, allocations: 7.922 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.3136, allocations: 3.938 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.557e-05/0.3136, allocations: 16 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.3137, allocations: 63.75 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3139, allocations: 47.89 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.3139, allocations: 27.8 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.314, allocations: 27.8 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.314, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.314, allocations: 4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.314, allocations: 7.984 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.3141, allocations: 35.73 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.705e-05/0.3142, allocations: 56.17 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3142, allocations: 4 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3142, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3142, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 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.0004212/0.3146, allocations: 379.3 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3147, allocations: 11.97 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.3147, allocations: 8.844 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3149, allocations: 200.1 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3149, allocations: 8.359 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.315, allocations: 12.38 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3151, allocations: 97.52 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3151, allocations: 192 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3152, allocations: 7.938 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3152, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.3153, allocations: 31.98 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.3158, allocations: 444.5 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.3159, allocations: 33.22 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3159, allocations: 17.78 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.3159, allocations: 4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3159, allocations: 38.59 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.316, allocations: 3.938 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.3161, allocations: 57.47 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3162, allocations: 77.11 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3163, allocations: 163.3 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3164, allocations: 25.7 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.3164, allocations: 120.2 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.3164, allocations: 3.906 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3165, allocations: 13.72 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3166, allocations: 318.8 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3166, allocations: 8 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.3166, allocations: 13.72 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.3167, allocations: 37.66 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3167, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.17e-05/0.3168, allocations: 57.53 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3168, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3168, allocations: 11.92 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3168, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.3169, allocations: 4 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3169, allocations: 3.938 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.317, allocations: 15.84 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.317, allocations: 4.062 kB / 1.056 GB, free: 4.648 MB / 0.8106 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 7.998e-05/0.317, allocations: 119.8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.3171, allocations: 7.906 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3171, allocations: 11.81 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3171, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3171, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3171, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.3175, allocations: 474.8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3175, allocations: 8 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.3176, allocations: 3.984 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3176, allocations: 4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.3176, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3176, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3176, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.3177, allocations: 81.84 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.3178, allocations: 96.94 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3178, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.3178, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.3178, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.3178, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.938e-05/0.3179, allocations: 122.1 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3179, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000192/0.3181, allocations: 12 kB / 1.057 GB, free: 3.613 MB / 0.8106 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.0001165/0.3182, allocations: 103.3 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.3183, allocations: 19.94 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3183, allocations: 0 / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.3184, allocations: 4 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.3185, allocations: 11.94 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.3189, allocations: 210.5 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3191, allocations: 0.6887 MB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.3192, allocations: 15.44 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of SimCode: time 4.1e-07/0.3192, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of Templates: time 0.002327/0.3215, allocations: 0.856 MB / 1.059 GB, free: 1.633 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches