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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.0015/0.0015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002264/0.002264, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 73.47 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3647, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002168/0.3669, allocations: 0.8885 MB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.3671, allocations: 39.78 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.3671, allocations: 4 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.3672, allocations: 3.938 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.3673, allocations: 3.938 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.779e-05/0.3673, allocations: 19.98 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.3674, allocations: 59.86 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3676, allocations: 43.95 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.867e-05/0.3676, allocations: 31.75 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.3677, allocations: 35.83 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3677, allocations: 8 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.3677, allocations: 4 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3677, allocations: 11.94 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.3678, allocations: 39.73 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3679, allocations: 64.06 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3679, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3679, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3679, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 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.0004604/0.3684, allocations: 387.1 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3684, allocations: 8.031 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3685, allocations: 8.844 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3687, allocations: 200.1 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3687, allocations: 8.375 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3688, allocations: 4.375 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3689, allocations: 95.89 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3689, allocations: 4.188 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.369, allocations: 7.938 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.369, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3691, allocations: 39.92 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.3696, allocations: 428.5 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.3697, allocations: 53.27 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.3698, allocations: 21.84 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.3698, allocations: 0 / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3698, allocations: 30.56 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.347e-06/0.3698, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000188/0.37, allocations: 61.48 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3701, allocations: 85.03 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3703, allocations: 161.1 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3703, allocations: 25.7 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.3703, allocations: 104 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.3704, allocations: 3.906 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3704, allocations: 21.7 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3705, allocations: 323.1 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.3706, allocations: 7.984 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.3706, allocations: 17.72 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.3706, allocations: 25.72 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3706, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.899e-05/0.3707, allocations: 57.53 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3707, allocations: 17.41 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3708, allocations: 3.938 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3708, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.3708, allocations: 8 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3709, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.3709, allocations: 7.844 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3709, allocations: 4.094 kB / 1.071 GB, free: 7.035 MB / 0.8262 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.323e-05/0.371, allocations: 117.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.371, allocations: 11.89 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.3711, allocations: 19.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3711, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3711, allocations: 7.938 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3711, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.3715, allocations: 474.8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3715, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.3715, allocations: 4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3715, allocations: 4.062 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3716, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3716, allocations: 3.984 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3716, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.003e-05/0.3717, allocations: 77.84 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.3717, allocations: 89 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3717, allocations: 7.938 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.3718, allocations: 8.031 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.3718, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3718, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.592e-05/0.3719, allocations: 121.5 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3719, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001842/0.3721, allocations: 11.91 kB / 1.072 GB, free: 5.98 MB / 0.8262 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.0001684/0.3723, allocations: 95.25 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3724, allocations: 23.98 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3724, allocations: 3.938 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.3724, allocations: 8 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.3726, allocations: 11.94 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.373, allocations: 179 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3733, allocations: 0.6963 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.3733, allocations: 4.438 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3734, allocations: 11.44 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.3734, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.002715/0.3761, allocations: 460.5 kB / 1.073 GB, free: 4.438 MB / 0.8262 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