Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001438/0.001438, allocations: 104.7 kB / 16.27 MB, free: 5.984 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.001609/0.001609, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.33 kB / 0.8132 GB, free: 32.86 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2744, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002815/0.2772, allocations: 0.8215 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.2774, allocations: 39.78 kB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.2775, allocations: 0 / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.2775, allocations: 11.88 kB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.779e-05/0.2777, allocations: 15.86 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.766e-05/0.2777, allocations: 19.98 kB / 0.9512 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2779, allocations: 55.86 kB / 0.9512 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.278, allocations: 47.94 kB / 0.9513 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.2781, allocations: 23.88 kB / 0.9513 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.2782, allocations: 31.78 kB / 0.9513 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2782, allocations: 4 kB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2782, allocations: 11.94 kB / 0.9513 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.2783, allocations: 11.94 kB / 0.9513 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.2783, allocations: 35.8 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2784, allocations: 71.98 kB / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2785, allocations: 4 kB / 0.9514 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2785, allocations: 0 / 0.9514 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2785, allocations: 0 / 0.9514 GB, free: 7.676 MB / 0.7325 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.0004864/0.279, allocations: 379.1 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.279, allocations: 12.03 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2791, allocations: 8.844 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2793, allocations: 192.2 kB / 0.952 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2793, allocations: 4.375 kB / 0.952 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2793, allocations: 12.36 kB / 0.952 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.2795, allocations: 98.03 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2795, allocations: 4.188 kB / 0.9521 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2795, allocations: 3.938 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2796, allocations: 7.938 kB / 0.9521 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.2796, allocations: 35.98 kB / 0.9522 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.2803, allocations: 428.6 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.2803, allocations: 45.34 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.2804, allocations: 25.77 kB / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.2804, allocations: 0 / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2804, allocations: 34.56 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2804, allocations: 3.938 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.2806, allocations: 53.55 kB / 0.9527 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.2807, allocations: 81.05 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2808, allocations: 172.9 kB / 0.953 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2809, allocations: 25.7 kB / 0.953 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.2809, allocations: 104 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.281, allocations: 7.906 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.281, allocations: 21.7 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2811, allocations: 319.1 kB / 0.9534 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.2812, allocations: 4 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.2812, allocations: 21.7 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.2813, allocations: 25.72 kB / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2813, allocations: 4 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.978e-05/0.2814, allocations: 57.59 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2814, allocations: 8 kB / 0.9535 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2814, allocations: 3.938 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2814, allocations: 4 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.2815, allocations: 7.938 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2815, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.2815, allocations: 11.84 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2816, allocations: 0 / 0.9536 GB, free: 5.234 MB / 0.7325 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.999e-05/0.2816, allocations: 117.8 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.2817, allocations: 7.906 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.2817, allocations: 23.8 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2817, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2817, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2818, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.2822, allocations: 470.8 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2822, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.2822, allocations: 4 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2822, allocations: 4.062 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.2822, allocations: 4 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2822, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2822, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.2823, allocations: 77.83 kB / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2824, allocations: 96.94 kB / 0.9543 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2824, allocations: 32 / 0.9543 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/0.2824, allocations: 4 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.2825, allocations: 7.938 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.2825, allocations: 0 / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.634e-05/0.2826, allocations: 121.3 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2826, allocations: 0 / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001938/0.2828, allocations: 8 kB / 0.9545 GB, free: 4.195 MB / 0.7325 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.0001171/0.2829, allocations: 95.78 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.275e-05/0.283, allocations: 31.92 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.283, allocations: 0 / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.283, allocations: 8 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.2832, allocations: 11.94 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.2836, allocations: 176.8 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2839, allocations: 0.7 MB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.2839, allocations: 11.44 kB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.2839, allocations: 0 / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.002505/0.2864, allocations: 0.8716 MB / 0.9563 GB, free: 2.219 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches