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.001678/0.001678, 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.002049/0.002049, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.36 kB / 0.8986 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3886, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002932/0.3916, allocations: 0.8842 MB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.3918, allocations: 39.78 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.3919, allocations: 0 / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.018e-05/0.3919, allocations: 7.922 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.392, allocations: 11.94 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.835e-05/0.3921, allocations: 15.98 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3923, allocations: 63.77 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3925, allocations: 47.94 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.3925, allocations: 31.81 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.3926, allocations: 31.78 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3927, allocations: 4 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.3927, allocations: 8 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.3927, allocations: 11.94 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.3928, allocations: 35.73 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3929, allocations: 68.05 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3929, allocations: 0 / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3929, allocations: 0 / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.393, allocations: 4 kB / 1.054 GB, free: 7.492 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.0006296/0.3936, allocations: 379.2 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.3937, allocations: 12.62 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.3937, allocations: 8.844 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.394, allocations: 188.2 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.394, allocations: 8.375 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.394, allocations: 8.375 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3942, allocations: 101 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3943, allocations: 4.188 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3943, allocations: 11.88 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3943, allocations: 4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.3944, allocations: 35.98 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.395, allocations: 436.5 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/0.3951, allocations: 41.22 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.3951, allocations: 21.77 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3951, allocations: 3.984 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3952, allocations: 38.59 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 6.522e-06/0.3952, allocations: 4 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001918/0.3954, allocations: 53.48 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3954, allocations: 81.11 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3956, allocations: 154.2 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3956, allocations: 25.7 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3957, allocations: 108 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.3957, allocations: 7.906 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.3958, allocations: 17.97 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3959, allocations: 322.8 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.3959, allocations: 4 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.396, allocations: 21.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.396, allocations: 25.66 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.396, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.908e-05/0.3961, allocations: 61.61 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3961, allocations: 7.984 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3961, allocations: 7.875 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3962, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.3962, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3962, allocations: 3.938 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.3963, allocations: 15.84 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3963, allocations: 0 / 1.056 GB, free: 5.043 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.538e-05/0.3964, allocations: 115.4 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3964, allocations: 11.97 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.3965, allocations: 19.8 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3965, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3965, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3965, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.3969, allocations: 470.7 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3969, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.3969, allocations: 8.062 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3969, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3969, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.397, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.397, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.265e-05/0.397, allocations: 85.77 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3971, allocations: 89 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3971, allocations: 4.031 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.917e-05/0.3971, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.3972, allocations: 4 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.3972, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3973, allocations: 126.1 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3973, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001824/0.3975, allocations: 8 kB / 1.057 GB, free: 4.008 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.0001578/0.3976, allocations: 95.25 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.3977, allocations: 23.94 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3978, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.3978, allocations: 7.984 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.398, allocations: 7.938 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3984, allocations: 187.1 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3987, allocations: 0.6924 MB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.3988, allocations: 4.438 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.3988, allocations: 11.44 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.3988, allocations: 4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of Templates: time 0.003103/0.4019, allocations: 452.5 kB / 1.058 GB, free: 2.473 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