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 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.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.001226/0.001226, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001202/0.001202, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 68.59 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6813, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002525/0.6838, allocations: 0.8197 MB / 1.084 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.684, allocations: 41.33 kB / 1.084 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.684, allocations: 1.75 kB / 1.084 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.6841, allocations: 13.47 kB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.6842, allocations: 9.219 kB / 1.084 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.846e-05/0.6843, allocations: 21.45 kB / 1.084 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.6844, allocations: 57.59 kB / 1.084 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.6846, allocations: 50.31 kB / 1.084 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.6847, allocations: 22.48 kB / 1.084 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.6847, allocations: 33.7 kB / 1.084 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.6847, allocations: 5.781 kB / 1.084 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.6848, allocations: 6.188 kB / 1.084 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.6848, allocations: 13.33 kB / 1.084 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.6848, allocations: 36.48 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.612e-05/0.6849, allocations: 72.88 kB / 1.084 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6849, allocations: 0.5156 kB / 1.084 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6849, allocations: 0 / 1.084 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.685, allocations: 7.938 kB / 1.084 GB, free: 0.8867 MB / 0.8262 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.0003263/0.6853, allocations: 380.8 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6853, allocations: 9.156 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.6854, allocations: 10.12 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.6855, allocations: 192.7 kB / 1.085 GB, free: 288 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.6855, allocations: 8.25 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.6856, allocations: 4.844 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.6857, allocations: 95.05 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.6857, allocations: 192 / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6857, allocations: 4.438 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6857, allocations: 5.75 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.6858, allocations: 40.41 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.6863, allocations: 438.5 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.6864, allocations: 42.33 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.6864, allocations: 20.03 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.6865, allocations: 0.625 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.6865, allocations: 36.56 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.6865, allocations: 0 / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.6867, allocations: 57.73 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.6867, allocations: 77.11 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.6869, allocations: 159.7 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.6869, allocations: 26.67 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.687, allocations: 103.9 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.687, allocations: 6.141 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.687, allocations: 21.81 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6872, allocations: 323.8 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.6872, allocations: 8.234 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.6872, allocations: 20.06 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.6873, allocations: 26.98 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6873, allocations: 5.156 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.349e-05/0.6874, allocations: 56.8 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6874, allocations: 6.047 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6874, allocations: 3.938 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.6874, allocations: 1.125 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.6875, allocations: 10.3 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.6875, allocations: 1.703 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.6875, allocations: 5.719 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.6875, allocations: 2.344 kB / 1.086 GB, free: 14.82 MB / 0.8419 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 8.392e-05/0.6876, allocations: 118 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6877, allocations: 9.391 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.6877, allocations: 19.38 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6877, allocations: 1.859 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6877, allocations: 1.375 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6877, allocations: 0 / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.6881, allocations: 475.1 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6881, allocations: 4.547 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.6882, allocations: 7.562 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6882, allocations: 1.125 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.6882, allocations: 1.469 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6882, allocations: 0 / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6882, allocations: 1.969 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.6883, allocations: 80.98 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.6883, allocations: 93.38 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.6884, allocations: 2.281 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.6884, allocations: 1.188 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.6884, allocations: 5.859 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.6884, allocations: 1.094 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.091e-05/0.6885, allocations: 120.5 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.834e-06/0.6885, allocations: 0 / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001804/0.6887, allocations: 14.72 kB / 1.087 GB, free: 13.89 MB / 0.8419 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.0001052/0.6888, allocations: 101.2 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.6889, allocations: 15.55 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6889, allocations: 1.25 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.6889, allocations: 12 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.6891, allocations: 15.02 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.6894, allocations: 185.9 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.6897, allocations: 0.6954 MB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.6897, allocations: 12.08 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.6897, allocations: 4.625 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.002204/0.6919, allocations: 0.8621 MB / 1.089 GB, free: 12.82 MB / 0.8419 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=400 -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