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.001617/0.001617, allocations: 110.5 kB / 16.42 MB, free: 6.523 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.001744/0.001744, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.51/1.51, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.84 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002686/1.182, allocations: 0.829 MB / 1.227 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001877/1.182, allocations: 43.78 kB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/1.182, allocations: 0 / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.68e-05/1.182, allocations: 7.875 kB / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/1.182, allocations: 11.88 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.605e-05/1.182, allocations: 23.97 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/1.182, allocations: 55.84 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/1.183, allocations: 47.88 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/1.183, allocations: 27.84 kB / 1.227 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/1.183, allocations: 31.8 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/1.183, allocations: 7.938 kB / 1.227 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/1.183, allocations: 8 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/1.183, allocations: 11.98 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/1.183, allocations: 35.75 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/1.183, allocations: 80.19 kB / 1.228 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.183, allocations: 4 kB / 1.228 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/1.183, allocations: 0 / 1.228 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.183, allocations: 0 / 1.228 GB, free: 12.34 MB / 0.9512 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.0006007/1.184, allocations: 371.2 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/1.184, allocations: 15.97 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/1.184, allocations: 12.84 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/1.184, allocations: 188.2 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/1.184, allocations: 4.375 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/1.184, allocations: 12.38 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/1.185, allocations: 100.9 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.185, allocations: 192 / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/1.185, allocations: 3.938 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.185, allocations: 4 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/1.185, allocations: 35.98 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/1.185, allocations: 444.6 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/1.186, allocations: 41.22 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/1.186, allocations: 13.78 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/1.186, allocations: 4.031 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.186, allocations: 42.56 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.186, allocations: 0 / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002344/1.186, allocations: 57.52 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.186, allocations: 77.11 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.186, allocations: 164.2 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/1.186, allocations: 25.7 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/1.186, allocations: 108.2 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/1.186, allocations: 11.95 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/1.186, allocations: 17.67 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.186, allocations: 322.8 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/1.187, allocations: 4 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/1.187, allocations: 17.72 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/1.187, allocations: 29.66 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.187, allocations: 0 / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/1.187, allocations: 65.64 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.187, allocations: 5.875 kB / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.187, allocations: 0 / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.187, allocations: 3.938 kB / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/1.187, allocations: 11.94 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.187, allocations: 0 / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/1.187, allocations: 11.92 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/1.187, allocations: 0 / 1.23 GB, free: 9.895 MB / 0.9512 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.0001072/1.187, allocations: 117.9 kB / 1.23 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/1.187, allocations: 7.953 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/1.187, allocations: 15.81 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.187, allocations: 0 / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.187, allocations: 0 / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/1.187, allocations: 93 kB / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.187, allocations: 0 / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/1.187, allocations: 0 / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/1.187, allocations: 0 / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001534/1.188, allocations: 212.3 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003201/1.188, allocations: 294 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.023e-05/1.188, allocations: 3.938 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.49e-05/1.188, allocations: 129.2 kB / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of Backend: time 4.11e-07/1.188, allocations: 0 / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004591/1.188, allocations: 82.41 kB / 1.231 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005717/1.189, allocations: 0.6158 MB / 1.231 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of Templates: time 0.002967/1.192, allocations: 0.5211 MB / 1.232 GB, free: 7.707 MB / 0.9512 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/jenkins1/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