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 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.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.001779/0.001779, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002317/0.002317, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.4/2.4, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.25/3.25, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289/1.291, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.005424/1.296, allocations: 0.8231 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002545/1.297, allocations: 47.78 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/1.297, allocations: 4 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.433e-05/1.297, allocations: 7.875 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/1.297, allocations: 11.81 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.766e-05/1.297, allocations: 19.97 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/1.297, allocations: 63.84 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/1.298, allocations: 47.91 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/1.298, allocations: 31.8 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/1.298, allocations: 23.86 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/1.298, allocations: 4 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/1.298, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/1.298, allocations: 19.92 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/1.298, allocations: 27.81 kB / 1.21 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/1.298, allocations: 75.69 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/1.298, allocations: 4 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.789e-06/1.298, allocations: 3.938 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.298, allocations: 3.938 kB / 1.21 GB, free: 12.44 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.0008163/1.299, allocations: 380.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 8.056e-05/1.299, allocations: 8.031 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/1.299, allocations: 8.844 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/1.3, allocations: 192.2 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.3, allocations: 4.375 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/1.3, allocations: 16.36 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/1.3, allocations: 93.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.3, allocations: 192 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/1.3, allocations: 7.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.3, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/1.3, allocations: 31.98 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/1.301, allocations: 448.5 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/1.301, allocations: 37.22 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/1.301, allocations: 21.81 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/1.301, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/1.302, allocations: 38.56 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.176e-06/1.302, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003696/1.302, allocations: 57.47 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/1.302, allocations: 77.11 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/1.302, allocations: 160.7 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/1.302, allocations: 25.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/1.303, allocations: 104 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/1.303, allocations: 16.16 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/1.303, allocations: 13.72 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.303, allocations: 318.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/1.303, allocations: 11.94 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/1.303, allocations: 13.72 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/1.303, allocations: 29.66 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.303, allocations: 8 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001612/1.303, allocations: 53.59 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.303, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.303, allocations: 3.938 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/1.303, allocations: 7.938 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.304, allocations: 7.938 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/1.304, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/1.304, allocations: 15.89 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/1.304, allocations: 0 / 1.212 GB, free: 10.01 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 0.000163/1.304, allocations: 117.9 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/1.304, allocations: 7.906 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/1.304, allocations: 11.81 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.304, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.304, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.304, allocations: 93 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/1.304, allocations: 4 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/1.304, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/1.304, allocations: 4 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002446/1.305, allocations: 200.2 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000371/1.305, allocations: 297.9 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.084e-05/1.305, allocations: 8 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001459/1.305, allocations: 125.2 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of Backend: time 1.312e-06/1.305, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000738/1.306, allocations: 92.59 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008112/1.307, allocations: 0.6083 MB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.005007/1.312, allocations: 0.5317 MB / 1.214 GB, free: 7.816 MB / 0.9356 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