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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001165/0.001165, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008302/0.008303, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 443.3 MB / 0.7175 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004024, allocations: 8.969 kB / 0.8796 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4011, allocations: 155.2 MB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001269/0.4024, allocations: 0.5459 MB / 1.032 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.4027, allocations: 43.8 kB / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.4028, allocations: 0 / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.4028, allocations: 7.922 kB / 1.032 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.4029, allocations: 3.938 kB / 1.032 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.821e-05/0.403, allocations: 19.98 kB / 1.032 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.4031, allocations: 55.84 kB / 1.032 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.4033, allocations: 43.95 kB / 1.032 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.4034, allocations: 15.88 kB / 1.032 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.4034, allocations: 23.8 kB / 1.032 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.4035, allocations: 4 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.4035, allocations: 0 / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.4035, allocations: 7.938 kB / 1.032 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.4036, allocations: 57.45 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.4037, allocations: 67.95 kB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4037, allocations: 0 / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4037, allocations: 0 / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.4038, allocations: 0 / 1.032 GB, free: 3.523 MB / 0.7794 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.0005398/0.4043, allocations: 367.2 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4044, allocations: 8.031 kB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.4044, allocations: 8.844 kB / 1.032 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.4047, allocations: 204 kB / 1.033 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4047, allocations: 12.38 kB / 1.033 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.4047, allocations: 8.312 kB / 1.033 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.405, allocations: 87.95 kB / 1.033 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.405, allocations: 192 / 1.033 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4051, allocations: 7.938 kB / 1.033 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4051, allocations: 0 / 1.033 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.4052, allocations: 43.86 kB / 1.033 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.4058, allocations: 440.6 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.4059, allocations: 41.19 kB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.406, allocations: 25.84 kB / 1.033 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.406, allocations: 3.984 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.406, allocations: 30.56 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.406, allocations: 0 / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002173/0.4062, allocations: 61.47 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.4063, allocations: 77.11 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.4065, allocations: 169.1 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.4065, allocations: 25.7 kB / 1.034 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.4066, allocations: 100 kB / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.4066, allocations: 3.906 kB / 1.034 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.4067, allocations: 17.72 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4068, allocations: 318.8 kB / 1.034 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.4068, allocations: 7.938 kB / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.4069, allocations: 17.72 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.4069, allocations: 25.72 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4069, allocations: 4 kB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.407, allocations: 61.53 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4071, allocations: 4 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.4071, allocations: 3.938 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4071, allocations: 4 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.4072, allocations: 4 kB / 1.034 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4072, allocations: 4.062 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.4072, allocations: 11.84 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.4072, allocations: 0 / 1.034 GB, free: 1.098 MB / 0.7794 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.0001058/0.4074, allocations: 121.8 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.4074, allocations: 7.906 kB / 1.034 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.4075, allocations: 15.81 kB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4075, allocations: 0 / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4075, allocations: 4 kB / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4075, allocations: 0 / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.408, allocations: 471.3 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.408, allocations: 0 / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.4081, allocations: 19.8 kB / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4081, allocations: 0 / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4081, allocations: 4 kB / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4081, allocations: 0 / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4081, allocations: 0 / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.436e-05/0.4082, allocations: 81.91 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.4084, allocations: 89 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.4084, allocations: 0 / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.4084, allocations: 0 / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.4085, allocations: 4 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.4085, allocations: 0 / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.969e-05/0.4086, allocations: 129.1 kB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.913e-06/0.4086, allocations: 0 / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001866/0.4088, allocations: 15.84 kB / 1.035 GB, free: 44 kB / 0.7794 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.000287/0.4091, allocations: 95.3 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.4091, allocations: 15.94 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4092, allocations: 0 / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.4092, allocations: 11.94 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.4094, allocations: 10.06 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.4097, allocations: 180.6 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.4102, allocations: 0.6965 MB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.4103, allocations: 8.422 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.4103, allocations: 11.44 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.4103, allocations: 0 / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of Templates: time 0.002964/0.4133, allocations: 422.9 kB / 1.036 GB, free: 14.53 MB / 0.795 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