Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_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.001293/0.001293, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00134/0.001341, allocations: 196.1 kB / 16.26 MB, free: 6.629 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.924/2.924, allocations: 469.8 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 73.11 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 159.1 MB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002074/0.3274, allocations: 0.8937 MB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.3275, allocations: 35.8 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.3276, allocations: 3.938 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.3276, allocations: 11.92 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.3277, allocations: 3.984 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.564e-05/0.3277, allocations: 19.98 kB / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.3278, allocations: 59.8 kB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.328, allocations: 47.95 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.328, allocations: 23.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.3281, allocations: 27.84 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3281, allocations: 4 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.3281, allocations: 8 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3281, allocations: 11.94 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.3282, allocations: 47.67 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.352e-05/0.3283, allocations: 64.05 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3283, allocations: 0 / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3283, allocations: 4 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3283, allocations: 0 / 1.065 GB, free: 13.4 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.0004572/0.3288, allocations: 375.2 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3288, allocations: 12.03 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3289, allocations: 12.75 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3291, allocations: 188.2 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.3291, allocations: 8.375 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3291, allocations: 12.38 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3293, allocations: 91.88 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3293, allocations: 4.125 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3293, allocations: 7.938 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3293, allocations: 4 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.3294, allocations: 39.92 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.33, allocations: 436.6 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.3301, allocations: 41.25 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.3301, allocations: 21.77 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3301, allocations: 4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3302, allocations: 34.56 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3302, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001798/0.3303, allocations: 57.48 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3304, allocations: 77.11 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3306, allocations: 154.2 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3306, allocations: 29.95 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.3307, allocations: 108 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.3307, allocations: 7.906 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3307, allocations: 21.66 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3309, allocations: 318.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.3309, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.331, allocations: 21.7 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.331, allocations: 29.66 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.331, allocations: 4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.165e-05/0.3311, allocations: 57.55 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3311, allocations: 9.234 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3311, allocations: 3.938 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3312, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.3312, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3312, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.3313, allocations: 19.91 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.3313, allocations: 0 / 1.067 GB, free: 10.96 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 9.722e-05/0.3314, allocations: 113.8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3314, allocations: 7.906 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.3315, allocations: 19.8 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3315, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3315, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3315, allocations: 3.938 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.3319, allocations: 470.8 kB / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3319, allocations: 0 / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.332, allocations: 4 kB / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.332, allocations: 96 / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.332, allocations: 7.984 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.332, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.332, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3321, allocations: 89.83 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.3322, allocations: 89 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3322, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.3322, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.3322, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3322, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001093/0.3324, allocations: 126.1 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3324, allocations: 4.031 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001797/0.3326, allocations: 8 kB / 1.068 GB, free: 9.918 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.0001397/0.3327, allocations: 95.25 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.3328, allocations: 19.94 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3328, allocations: 0 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.3328, allocations: 7.984 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.333, allocations: 12.19 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3333, allocations: 190.7 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3337, allocations: 0.6963 MB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.3338, allocations: 4.438 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3338, allocations: 11.44 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3338, allocations: 0 / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002698/0.3365, allocations: 448.5 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches