Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001063/0.001063, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001318/0.001318, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.876/2.876, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003693, allocations: 11.94 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6996, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001026/0.7007, allocations: 0.52 MB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.7008, allocations: 39.78 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.7009, allocations: 8 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.7009, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.701, allocations: 7.922 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.005e-05/0.7011, allocations: 12 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.697e-05/0.7012, allocations: 51.84 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.7013, allocations: 44.08 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.7014, allocations: 15.88 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.7015, allocations: 19.84 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.7015, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.7015, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.7015, allocations: 11.94 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.7016, allocations: 37.64 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.299e-05/0.7017, allocations: 43.89 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7017, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7017, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.7017, allocations: 0 / 1.023 GB, free: 15.25 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.0004048/0.7021, allocations: 381 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7021, allocations: 8.031 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.7022, allocations: 11.91 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.7024, allocations: 186.9 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.7024, allocations: 11.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.7025, allocations: 8 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.7026, allocations: 103.2 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.7027, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.7027, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7027, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.7028, allocations: 39.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.7033, allocations: 428.6 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.7034, allocations: 41.28 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.7034, allocations: 21.83 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.7035, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.7035, allocations: 38.56 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.7035, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/0.7037, allocations: 57.5 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.7037, allocations: 77.11 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.7039, allocations: 169.2 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.7039, allocations: 29.64 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.704, allocations: 100 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.704, allocations: 11.78 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.704, allocations: 4.25 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7041, allocations: 322.8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.7041, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.7042, allocations: 21.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.7042, allocations: 8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7042, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.838e-05/0.7043, allocations: 57.55 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.7043, allocations: 12.06 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7043, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7043, allocations: 3.953 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.7044, allocations: 7.984 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.7044, allocations: 4 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.7045, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.7045, allocations: 0 / 1.025 GB, free: 12.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.7045, allocations: 117.8 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.7046, allocations: 7.906 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.7046, allocations: 19.86 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.7046, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7046, allocations: 7.953 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7046, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.705, allocations: 466.7 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.705, allocations: 7.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.7051, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7051, allocations: 12.02 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.7051, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7051, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.7051, allocations: 3.938 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.029e-05/0.7052, allocations: 77.89 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.7052, allocations: 85.02 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.7053, allocations: 3.953 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.7053, allocations: 12.02 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.7053, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.7053, allocations: 3.938 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.298e-05/0.7054, allocations: 123.2 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7054, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001846/0.7056, allocations: 11.94 kB / 1.026 GB, free: 11.81 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.7057, allocations: 95.25 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.814e-05/0.7058, allocations: 23.94 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7058, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.7058, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.706, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.7064, allocations: 188.8 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.7066, allocations: 0.6926 MB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.7067, allocations: 12.5 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.7067, allocations: 11.44 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7067, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.002308/0.709, allocations: 413.3 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches