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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001361/0.00136, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001155/0.001155, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.1 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.86 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002156/0.3312, allocations: 0.8313 MB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001033/0.3313, allocations: 39.78 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.3314, allocations: 4 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3314, allocations: 15.86 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.3315, allocations: 7.938 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.649e-05/0.3316, allocations: 15.98 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3317, allocations: 71.69 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3318, allocations: 51.94 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.3319, allocations: 23.88 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.332, allocations: 31.78 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.332, allocations: 4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.332, allocations: 8 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.332, allocations: 15.94 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3321, allocations: 27.8 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3322, allocations: 79.64 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3322, allocations: 0 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3322, allocations: 0 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3322, allocations: 4 kB / 1.02 GB, free: 8.637 MB / 0.795 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.0004257/0.3327, allocations: 375.2 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3327, allocations: 8.031 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3328, allocations: 8.844 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.333, allocations: 200.1 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.333, allocations: 8.375 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.333, allocations: 4.375 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3332, allocations: 98.52 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3332, allocations: 192 / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3332, allocations: 11.94 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3332, allocations: 0 / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.3333, allocations: 35.92 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3338, allocations: 436.5 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.3339, allocations: 45.27 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.334, allocations: 17.84 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.334, allocations: 7.938 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.334, allocations: 30.56 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 3.136e-06/0.334, allocations: 4 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.3342, allocations: 53.48 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.3343, allocations: 85.09 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3344, allocations: 153.1 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3345, allocations: 33.64 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.3345, allocations: 104 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.3346, allocations: 7.906 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.3346, allocations: 17.95 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3348, allocations: 318.8 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.3348, allocations: 15.92 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.3348, allocations: 17.72 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.3349, allocations: 25.72 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3349, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.83e-05/0.335, allocations: 61.53 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.335, allocations: 8 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.335, allocations: 3.938 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.335, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.3351, allocations: 4 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3351, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.3352, allocations: 7.844 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3352, allocations: 4 kB / 1.022 GB, free: 6.207 MB / 0.795 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 9.233e-05/0.3353, allocations: 109.8 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3353, allocations: 19.95 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3354, allocations: 11.81 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3354, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3354, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3354, allocations: 7.938 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.3358, allocations: 466.8 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3358, allocations: 0 / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.3359, allocations: 12 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3359, allocations: 4 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3359, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3359, allocations: 3.984 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3359, allocations: 3.938 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.713e-05/0.336, allocations: 73.84 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.3361, allocations: 93 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3361, allocations: 4.031 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.3361, allocations: 4 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3361, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3362, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.89e-05/0.3363, allocations: 125.4 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3363, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001896/0.3365, allocations: 8 kB / 1.023 GB, free: 5.168 MB / 0.795 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.0001783/0.3366, allocations: 99.25 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.3368, allocations: 23.98 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3368, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.3368, allocations: 11.88 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.337, allocations: 11.94 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3373, allocations: 154.8 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3377, allocations: 0.697 MB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.3377, allocations: 8.516 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3377, allocations: 11.44 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3377, allocations: 0 / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of Templates: time 0.002911/0.3407, allocations: 455.8 kB / 1.024 GB, free: 3.641 MB / 0.795 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 -s cvode -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/jenkins1/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