Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001895/0.001895, allocations: 106.5 kB / 16.41 MB, free: 6.469 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.002131/0.002131, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.522/1.522, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 68.11 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002753/1.059, allocations: 0.8297 MB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001929/1.06, allocations: 43.78 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/1.06, allocations: 0 / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.725e-05/1.06, allocations: 7.875 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/1.06, allocations: 15.92 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.525e-05/1.06, allocations: 23.92 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000136/1.06, allocations: 55.84 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/1.06, allocations: 39.98 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/1.06, allocations: 31.86 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/1.06, allocations: 23.86 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/1.06, allocations: 4 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-05/1.061, allocations: 8 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/1.061, allocations: 19.86 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/1.061, allocations: 39.78 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/1.061, allocations: 67.23 kB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.061, allocations: 0 / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/1.061, allocations: 0 / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.061, allocations: 4 kB / 1.169 GB, free: 2.672 MB / 0.8887 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.0006211/1.061, allocations: 380.1 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.062, allocations: 16.84 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/1.062, allocations: 20.78 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/1.062, allocations: 192.2 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/1.062, allocations: 4.375 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/1.062, allocations: 12.38 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/1.062, allocations: 90.39 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.062, allocations: 192 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.062, allocations: 11.92 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/1.062, allocations: 7.984 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/1.062, allocations: 39.92 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/1.063, allocations: 428.7 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/1.063, allocations: 49.34 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/1.063, allocations: 13.78 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/1.063, allocations: 0 / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/1.063, allocations: 42.55 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.876e-06/1.063, allocations: 0 / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000204/1.063, allocations: 57.53 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.063, allocations: 77.11 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/1.064, allocations: 160.8 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.064, allocations: 29.7 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/1.064, allocations: 104 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/1.064, allocations: 7.953 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/1.064, allocations: 17.72 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.064, allocations: 323.1 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/1.064, allocations: 4 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/1.064, allocations: 17.72 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/1.064, allocations: 25.7 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.064, allocations: 0 / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/1.064, allocations: 69.58 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.064, allocations: 4 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.064, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.064, allocations: 7.938 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/1.064, allocations: 11.92 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.064, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/1.064, allocations: 7.938 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/1.064, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 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.239e-05/1.064, allocations: 117.8 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/1.064, allocations: 7.984 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/1.064, allocations: 23.81 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.064, allocations: 3.984 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.064, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/1.065, allocations: 89 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/1.065, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/1.065, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/1.065, allocations: 7.984 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001315/1.065, allocations: 196.2 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000174/1.065, allocations: 302 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.342e-05/1.065, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.653e-05/1.065, allocations: 117.9 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/1.065, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000452/1.066, allocations: 100.9 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005085/1.066, allocations: 0.6041 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003121/1.069, allocations: 0.5279 MB / 1.173 GB, free: 14.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches