Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001667/0.001667, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.00165/0.00165, allocations: 183.9 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002291/1.163, allocations: 0.8285 MB / 1.089 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/1.163, allocations: 48.67 kB / 1.089 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/1.163, allocations: 1.094 kB / 1.089 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/1.163, allocations: 9.984 kB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/1.163, allocations: 9.734 kB / 1.09 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.118e-05/1.163, allocations: 17.45 kB / 1.09 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/1.164, allocations: 62.31 kB / 1.09 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/1.164, allocations: 42.62 kB / 1.09 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/1.164, allocations: 26.06 kB / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/1.164, allocations: 31.7 kB / 1.09 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/1.164, allocations: 4.938 kB / 1.09 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/1.164, allocations: 10.38 kB / 1.09 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/1.164, allocations: 16.25 kB / 1.09 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/1.164, allocations: 37.69 kB / 1.09 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/1.164, allocations: 72.31 kB / 1.09 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.164, allocations: 1.281 kB / 1.09 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/1.164, allocations: 0 / 1.09 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.472e-06/1.164, allocations: 0 / 1.09 GB, free: 5.023 MB / 0.8575 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.0004826/1.165, allocations: 377.8 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.165, allocations: 8.375 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/1.165, allocations: 12.88 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/1.165, allocations: 197.6 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/1.165, allocations: 7.781 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/1.165, allocations: 8.406 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/1.165, allocations: 87.48 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.165, allocations: 4.125 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/1.165, allocations: 9.031 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.165, allocations: 2.766 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/1.166, allocations: 39.5 kB / 1.091 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/1.166, allocations: 441.5 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/1.166, allocations: 41.95 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/1.166, allocations: 20.61 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/1.166, allocations: 5 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/1.166, allocations: 40.53 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/1.166, allocations: 0 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001867/1.166, allocations: 56.19 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/1.166, allocations: 82.78 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/1.167, allocations: 155.3 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/1.167, allocations: 25.7 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/1.167, allocations: 111.8 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/1.167, allocations: 5.531 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/1.167, allocations: 18.55 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.167, allocations: 320.1 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/1.167, allocations: 3.547 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/1.167, allocations: 20.31 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/1.167, allocations: 27.89 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.167, allocations: 0 / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.045e-05/1.167, allocations: 61.75 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.167, allocations: 8.031 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/1.167, allocations: 0 / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.167, allocations: 5.891 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/1.167, allocations: 6.109 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.167, allocations: 1.062 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/1.167, allocations: 6.938 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/1.167, allocations: 9.312 kB / 1.092 GB, free: 2.945 MB / 0.8575 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 6.277e-05/1.167, allocations: 114 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/1.167, allocations: 8.562 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/1.167, allocations: 12.3 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.167, allocations: 0.7031 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.167, allocations: 1.125 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/1.167, allocations: 90.34 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/1.167, allocations: 1.094 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/1.168, allocations: 1.812 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/1.168, allocations: 9.562 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.836e-05/1.168, allocations: 195.1 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.16e-05/1.168, allocations: 296.6 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.226e-05/1.168, allocations: 8.766 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.066e-05/1.168, allocations: 129.2 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/1.168, allocations: 0 / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004146/1.168, allocations: 88.81 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004077/1.169, allocations: 0.6096 MB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of Templates: time 0.002811/1.171, allocations: 0.5223 MB / 1.094 GB, free: 1.352 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches