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 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.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.001084/0.001084, allocations: 106.6 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.001083/0.001083, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8647, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002287/0.8671, allocations: 0.8231 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.8672, allocations: 39.78 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.8673, allocations: 0 / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.8674, allocations: 7.922 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.8675, allocations: 11.88 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.978e-05/0.8676, allocations: 15.98 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.8677, allocations: 63.83 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.8679, allocations: 51.84 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.8679, allocations: 19.94 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.868, allocations: 31.78 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.8681, allocations: 8 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.8681, allocations: 8 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.8681, allocations: 15.94 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.8681, allocations: 39.8 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.8683, allocations: 67.64 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8683, allocations: 0 / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8683, allocations: 3.938 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8683, allocations: 0 / 1.21 GB, free: 12.38 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.0004645/0.8688, allocations: 388.8 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8688, allocations: 12.03 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.8689, allocations: 12.84 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.8691, allocations: 196.1 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.8691, allocations: 4.375 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.8691, allocations: 12.31 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.8693, allocations: 93.83 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8693, allocations: 192 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.8694, allocations: 3.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8694, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.8695, allocations: 39.92 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.87, allocations: 432.6 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.8701, allocations: 49.17 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.8701, allocations: 21.84 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.8701, allocations: 3.984 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.8702, allocations: 34.56 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.8702, allocations: 0 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002037/0.8704, allocations: 57.48 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.8705, allocations: 81.09 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.8706, allocations: 162.6 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.8706, allocations: 29.69 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.8707, allocations: 99.98 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.8707, allocations: 7.891 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.8708, allocations: 17.72 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8709, allocations: 318.8 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.8709, allocations: 7.984 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.8709, allocations: 21.66 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.871, allocations: 25.72 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.871, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.423e-05/0.8711, allocations: 65.53 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8711, allocations: 4 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8711, allocations: 3.938 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8711, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.8712, allocations: 8 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8712, allocations: 4.062 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.8712, allocations: 3.906 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.8713, allocations: 7.938 kB / 1.212 GB, free: 9.938 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 7.729e-05/0.8713, allocations: 113.8 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.8714, allocations: 15.83 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.8714, allocations: 11.81 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8714, allocations: 4 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8714, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8714, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.8718, allocations: 470.8 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8718, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.8719, allocations: 4 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8719, allocations: 0 / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.8719, allocations: 3.984 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8719, allocations: 3.938 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8719, allocations: 4 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.588e-05/0.872, allocations: 81.91 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.872, allocations: 92.94 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.8721, allocations: 0 / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.8721, allocations: 0 / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.8721, allocations: 4 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.8721, allocations: 4 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.8722, allocations: 119.3 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8722, allocations: 4 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001927/0.8724, allocations: 7.906 kB / 1.213 GB, free: 8.891 MB / 0.9356 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.0001176/0.8725, allocations: 103.2 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.675e-05/0.8726, allocations: 15.98 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8726, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.8726, allocations: 8.125 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.8728, allocations: 16 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.8731, allocations: 186.7 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.8734, allocations: 0.6963 MB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.8734, allocations: 11.44 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8734, allocations: 0 / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.002379/0.8758, allocations: 0.8678 MB / 1.214 GB, free: 6.918 MB / 0.9356 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