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.0119/0.0119, allocations: 100.4 kB / 15.73 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.002079/0.002079, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.563/1.563, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.122/3.122, allocations: 461.8 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.88 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3896, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002744/0.3924, allocations: 0.8268 MB / 1.209 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.3926, allocations: 39.84 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.3927, allocations: 0 / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.013e-05/0.3927, allocations: 11.86 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.3929, allocations: 7.875 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.148e-05/0.393, allocations: 23.98 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3931, allocations: 59.84 kB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3933, allocations: 51.89 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3934, allocations: 27.81 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.3935, allocations: 27.84 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3935, allocations: 8 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.3935, allocations: 4 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.3936, allocations: 15.94 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.3936, allocations: 35.8 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3938, allocations: 79.58 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3938, allocations: 0 / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3938, allocations: 0 / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.3938, allocations: 0 / 1.209 GB, free: 8.477 MB / 0.9669 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.0005101/0.3943, allocations: 391.8 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3944, allocations: 8.625 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.3944, allocations: 12.84 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3947, allocations: 188.2 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3947, allocations: 4.375 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3947, allocations: 8.375 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3949, allocations: 95.89 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3949, allocations: 4.188 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.395, allocations: 3.938 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.395, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.3951, allocations: 39.92 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.3957, allocations: 432.6 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.3957, allocations: 49.17 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.3958, allocations: 17.84 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.3958, allocations: 4 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3958, allocations: 30.56 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3958, allocations: 0 / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.396, allocations: 57.73 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3961, allocations: 85.09 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3963, allocations: 154.3 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3963, allocations: 25.7 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.3964, allocations: 104 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/0.3964, allocations: 3.906 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.3964, allocations: 25.61 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3966, allocations: 318.8 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.3966, allocations: 11.98 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.3966, allocations: 17.72 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.3967, allocations: 25.66 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3967, allocations: 3.938 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.364e-05/0.3968, allocations: 61.62 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3968, allocations: 5.562 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3968, allocations: 8 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3968, allocations: 96 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.3969, allocations: 11.98 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3969, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.397, allocations: 7.844 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.397, allocations: 4 kB / 1.211 GB, free: 6.039 MB / 0.9669 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.712e-05/0.3971, allocations: 113.8 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.3971, allocations: 7.906 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.3972, allocations: 15.8 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3972, allocations: 11.94 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3972, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3972, allocations: 4 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.3976, allocations: 466.8 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3976, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.3977, allocations: 4 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3977, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3977, allocations: 8.062 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3977, allocations: 3.984 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3977, allocations: 7.938 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.399e-05/0.3978, allocations: 77.75 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.3979, allocations: 89 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3979, allocations: 0 / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3979, allocations: 4.031 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3979, allocations: 4 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.398, allocations: 4 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001468/0.3981, allocations: 117.7 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3981, allocations: 4 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001852/0.3983, allocations: 4 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001279/0.3984, allocations: 99.25 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.3985, allocations: 23.92 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3985, allocations: 0 / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.3986, allocations: 8 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.3987, allocations: 11.94 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.3991, allocations: 162.7 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3994, allocations: 0.697 MB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.3994, allocations: 4.438 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.3995, allocations: 11.44 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3995, allocations: 0 / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of Templates: time 0.00282/0.4023, allocations: 484.9 kB / 1.213 GB, free: 3.445 MB / 0.9669 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/jenkins/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