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 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.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.001732/0.001732, allocations: 108.4 kB / 16.41 MB, free: 6.465 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.001672/0.001673, allocations: 188.3 kB / 17.35 MB, free: 5.715 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.516/1.516, 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 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003304/1.077, allocations: 0.8283 MB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002142/1.077, allocations: 31.86 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/1.077, allocations: 4 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.353e-05/1.077, allocations: 7.875 kB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/1.078, allocations: 15.84 kB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.332e-05/1.078, allocations: 19.98 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/1.078, allocations: 63.84 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/1.078, allocations: 43.88 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/1.078, allocations: 31.8 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/1.078, allocations: 23.86 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/1.078, allocations: 8 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/1.078, allocations: 8 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/1.078, allocations: 11.92 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/1.078, allocations: 35.8 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/1.079, allocations: 79.16 kB / 1.228 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.079, allocations: 3.938 kB / 1.228 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.784e-06/1.079, allocations: 0 / 1.228 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.079, allocations: 0 / 1.228 GB, free: 12.27 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.0006728/1.079, allocations: 376.1 kB / 1.228 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.079, allocations: 12.03 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/1.079, allocations: 16.83 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/1.08, allocations: 192.2 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.08, allocations: 8.312 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.08, allocations: 8.375 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/1.08, allocations: 97.2 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.08, allocations: 192 / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.08, allocations: 3.938 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.08, allocations: 12 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/1.08, allocations: 43.91 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/1.081, allocations: 428.8 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/1.081, allocations: 45.25 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/1.081, allocations: 21.78 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/1.081, allocations: 0 / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/1.081, allocations: 34.56 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.081, allocations: 0 / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002118/1.081, allocations: 57.52 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.081, allocations: 77.36 kB / 1.229 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/1.082, allocations: 164.5 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.082, allocations: 25.7 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/1.082, allocations: 104 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/1.082, allocations: 11.95 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/1.082, allocations: 17.67 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.082, allocations: 318.8 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/1.082, allocations: 8 kB / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/1.082, allocations: 17.72 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/1.082, allocations: 33.64 kB / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.082, allocations: 0 / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.679e-05/1.082, allocations: 61.53 kB / 1.23 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.082, allocations: 4 kB / 1.23 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.082, allocations: 0 / 1.23 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.082, allocations: 3.938 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/1.082, allocations: 16.05 kB / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.082, allocations: 0 / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/1.082, allocations: 7.938 kB / 1.23 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/1.082, allocations: 0 / 1.23 GB, free: 9.824 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 9.446e-05/1.082, allocations: 113.8 kB / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/1.082, allocations: 7.953 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/1.083, allocations: 15.81 kB / 1.23 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.083, allocations: 0 / 1.23 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.083, allocations: 3.984 kB / 1.23 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/1.083, allocations: 97.02 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/1.083, allocations: 0 / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/1.083, allocations: 3.938 kB / 1.23 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/1.083, allocations: 4.094 kB / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001317/1.083, allocations: 200.2 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001984/1.083, allocations: 302 kB / 1.23 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.344e-05/1.083, allocations: 8 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.793e-05/1.083, allocations: 117.5 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of Backend: time 3.7e-07/1.083, allocations: 4 kB / 1.231 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004434/1.084, allocations: 83.81 kB / 1.231 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005294/1.084, allocations: 0.6161 MB / 1.231 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of Templates: time 0.003058/1.087, allocations: 0.5271 MB / 1.232 GB, free: 7.629 MB / 0.9512 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