Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001284/0.001284, allocations: 198.9 kB / 16.14 MB, free: 6.645 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7342 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001245, allocations: 66.86 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3242, allocations: 157.4 MB / 1.052 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00254/0.3268, allocations: 0.8802 MB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.327, allocations: 43.78 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.3271, allocations: 4 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.216e-05/0.3272, allocations: 7.922 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.3273, allocations: 3.938 kB / 1.053 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.831e-05/0.3273, allocations: 16 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3274, allocations: 63.75 kB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3276, allocations: 39.97 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.3277, allocations: 27.8 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.3277, allocations: 23.86 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3278, allocations: 4 kB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.3278, allocations: 4 kB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.3278, allocations: 15.92 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.3279, allocations: 39.73 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.328, allocations: 64.05 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.328, allocations: 0 / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.328, allocations: 4 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.328, allocations: 0 / 1.053 GB, free: 7.539 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.0005444/0.3286, allocations: 375.3 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3286, allocations: 8.031 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3287, allocations: 8.844 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.329, allocations: 196.1 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.329, allocations: 8.375 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.329, allocations: 4.375 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3292, allocations: 97.11 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3292, allocations: 4.125 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3293, allocations: 19.88 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3293, allocations: 0 / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.3294, allocations: 39.91 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.33, allocations: 444.7 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.33, allocations: 41.09 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.3301, allocations: 21.84 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.3301, allocations: 0 / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.3302, allocations: 38.5 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3302, allocations: 0 / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/0.3304, allocations: 53.53 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.3305, allocations: 85.05 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.3307, allocations: 161.1 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3307, allocations: 25.7 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.3308, allocations: 108.2 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3308, allocations: 7.906 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3308, allocations: 13.72 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.331, allocations: 318.8 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.331, allocations: 8 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.3311, allocations: 17.72 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.3311, allocations: 33.7 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3311, allocations: 0 / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.423e-05/0.3312, allocations: 53.55 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3313, allocations: 8 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3313, allocations: 3.938 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3313, allocations: 0 / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.3314, allocations: 4 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3314, allocations: 3.984 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.3314, allocations: 19.78 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3315, allocations: 0 / 1.055 GB, free: 5.094 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 0.000101/0.3316, allocations: 119.4 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.3316, allocations: 7.906 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3317, allocations: 11.81 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3317, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3317, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.3317, allocations: 7.984 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.3322, allocations: 470.8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.3322, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.3322, allocations: 3.938 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3322, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3322, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3323, allocations: 3.938 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3323, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.611e-05/0.3324, allocations: 85.83 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.3324, allocations: 89.02 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3324, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.3325, allocations: 8 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.3325, allocations: 3.984 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3325, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3326, allocations: 115.3 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3326, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001924/0.3328, allocations: 12 kB / 1.056 GB, free: 4.055 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.0001501/0.333, allocations: 103.3 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3331, allocations: 19.94 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3331, allocations: 0 / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.3331, allocations: 4 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.3333, allocations: 13.31 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.3338, allocations: 184.8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3343, allocations: 0.6887 MB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.3343, allocations: 16.36 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.3344, allocations: 11.44 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of SimCode: time 5.62e-07/0.3344, allocations: 0 / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of Templates: time 0.003243/0.3376, allocations: 440.5 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches