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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001344/0.001345, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.05 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3272, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002492/0.3298, allocations: 0.8803 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.3299, allocations: 35.84 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.33, allocations: 3.938 kB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.063e-05/0.33, allocations: 4 kB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.3301, allocations: 11.92 kB / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.023e-05/0.3302, allocations: 16 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3303, allocations: 67.62 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3305, allocations: 47.95 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.3305, allocations: 23.86 kB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.3306, allocations: 27.8 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3306, allocations: 4 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.3306, allocations: 4 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.3307, allocations: 11.98 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.3307, allocations: 27.75 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3308, allocations: 72.03 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3309, allocations: 4 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3309, allocations: 4 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3309, allocations: 3.938 kB / 1.053 GB, free: 7.605 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.0005204/0.3314, allocations: 371.3 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3315, allocations: 15.97 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3315, allocations: 8.844 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.3318, allocations: 192.2 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3318, allocations: 4.375 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3318, allocations: 8.375 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.332, allocations: 101 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.332, allocations: 192 / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3321, allocations: 3.938 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3321, allocations: 4 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-05/0.3322, allocations: 35.98 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.3328, allocations: 444.5 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.706e-05/0.3329, allocations: 41.22 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.3329, allocations: 21.81 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.333, allocations: 0 / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.333, allocations: 38.56 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.333, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.3332, allocations: 57.47 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3333, allocations: 77.11 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3334, allocations: 161.1 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3334, allocations: 25.7 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.3335, allocations: 104 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.3335, allocations: 12.16 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3336, allocations: 17.72 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3337, allocations: 318.8 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.3337, allocations: 4 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.3338, allocations: 17.72 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.3338, allocations: 33.59 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3338, allocations: 8 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.853e-05/0.3339, allocations: 53.59 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3339, allocations: 4 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.334, allocations: 3.938 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.334, allocations: 7.938 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.334, allocations: 7.938 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3341, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.3341, allocations: 11.84 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3341, allocations: 3.984 kB / 1.055 GB, free: 5.172 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 8.434e-05/0.3342, allocations: 117.9 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3342, allocations: 7.906 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.3343, allocations: 15.81 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3343, allocations: 0 / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3343, allocations: 0 / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3343, allocations: 0 / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3347, allocations: 474.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3347, allocations: 3.984 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3348, allocations: 4 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3348, allocations: 96 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3348, allocations: 11.98 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3348, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3348, allocations: 3.984 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.762e-05/0.3349, allocations: 81.84 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.335, allocations: 93 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.335, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.335, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.335, allocations: 4 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.335, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.97e-05/0.3351, allocations: 121.5 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3351, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001928/0.3353, allocations: 8 kB / 1.056 GB, free: 4.133 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.000118/0.3354, allocations: 103.3 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.3355, allocations: 19.94 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3355, allocations: 0 / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.3356, allocations: 8 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.3357, allocations: 5.969 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.336, allocations: 188.7 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3363, allocations: 0.6965 MB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.3363, allocations: 8.422 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3364, allocations: 15.44 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3364, allocations: 3.938 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of Templates: time 0.002405/0.3388, allocations: 435.2 kB / 1.058 GB, free: 2.602 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/jenkins/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