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.001314/0.001314, allocations: 114.3 kB / 16.42 MB, free: 6.5 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.001392/0.001392, allocations: 191.8 kB / 17.35 MB, free: 5.762 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.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002476/1.088, allocations: 0.8332 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001559/1.088, allocations: 43.84 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/1.088, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/1.088, allocations: 11.86 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/1.088, allocations: 11.88 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.784e-05/1.088, allocations: 15.98 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/1.088, allocations: 67.83 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/1.088, allocations: 43.92 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/1.089, allocations: 27.81 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/1.089, allocations: 27.84 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/1.089, allocations: 11.98 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/1.089, allocations: 4 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/1.089, allocations: 15.94 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/1.089, allocations: 31.8 kB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/1.089, allocations: 71.66 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.089, allocations: 0 / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/1.089, allocations: 3.938 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.089, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 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.0004729/1.089, allocations: 388.8 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.089, allocations: 8.031 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.089, allocations: 8.844 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/1.09, allocations: 196.2 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.09, allocations: 8.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/1.09, allocations: 4.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/1.09, allocations: 95.88 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/1.09, allocations: 4.188 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.09, allocations: 11.94 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/1.09, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/1.09, allocations: 39.86 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/1.091, allocations: 432.6 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/1.091, allocations: 49.17 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/1.091, allocations: 17.84 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/1.091, allocations: 4 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.091, allocations: 30.56 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.091, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000176/1.091, allocations: 57.48 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.091, allocations: 85.09 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.091, allocations: 150.3 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.091, allocations: 33.69 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/1.091, allocations: 104 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/1.091, allocations: 7.891 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/1.091, allocations: 13.72 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.091, allocations: 319.1 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/1.091, allocations: 11.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/1.091, allocations: 17.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/1.092, allocations: 29.66 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.092, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.901e-05/1.092, allocations: 57.53 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.092, allocations: 13.88 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.092, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.092, allocations: 3.938 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/1.092, allocations: 8 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.092, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/1.092, allocations: 7.906 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/1.092, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9356 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.081e-05/1.092, allocations: 113.8 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/1.092, allocations: 11.89 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/1.092, allocations: 15.81 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.092, allocations: 0 / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.092, allocations: 0 / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/1.092, allocations: 93 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/1.092, allocations: 0 / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/1.092, allocations: 8 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/1.092, allocations: 0 / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001212/1.092, allocations: 200.2 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001619/1.093, allocations: 302 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.882e-05/1.093, allocations: 7.984 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.952e-05/1.093, allocations: 117.5 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of Backend: time 5.11e-07/1.093, allocations: 3.938 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004169/1.093, allocations: 98.36 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005011/1.094, allocations: 0.6083 MB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of Templates: time 0.002623/1.096, allocations: 0.5279 MB / 1.214 GB, free: 7.777 MB / 0.9356 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/jenkins1/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