Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 104.9 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.00149/0.001491, allocations: 189.8 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.184/2.184, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 66.77 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2793, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002617/0.2819, allocations: 0.8274 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.2821, allocations: 39.78 kB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.2822, allocations: 0 / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.2823, allocations: 11.86 kB / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2824, allocations: 15.88 kB / 0.9511 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.04e-05/0.2825, allocations: 15.98 kB / 0.9512 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2826, allocations: 67.84 kB / 0.9512 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2828, allocations: 43.89 kB / 0.9513 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.2829, allocations: 23.92 kB / 0.9513 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.2829, allocations: 27.8 kB / 0.9513 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.283, allocations: 4 kB / 0.9513 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.283, allocations: 12 kB / 0.9513 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.283, allocations: 11.92 kB / 0.9513 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2831, allocations: 35.8 kB / 0.9514 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2832, allocations: 71.98 kB / 0.9514 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2832, allocations: 0 / 0.9514 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2832, allocations: 4 kB / 0.9514 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2832, allocations: 0 / 0.9514 GB, free: 7.664 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.0004828/0.2837, allocations: 376.5 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2837, allocations: 12.03 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.2838, allocations: 12.84 kB / 0.9518 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2841, allocations: 192.2 kB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2841, allocations: 4.375 kB / 0.952 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.2841, allocations: 8.375 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2843, allocations: 95.8 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2843, allocations: 4.172 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.2843, allocations: 7.938 kB / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2844, allocations: 4 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.2844, allocations: 39.92 kB / 0.9522 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.2851, allocations: 444.6 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.2851, allocations: 33.22 kB / 0.9526 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.2852, allocations: 21.78 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.2852, allocations: 0 / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2852, allocations: 42.58 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2852, allocations: 0 / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.2854, allocations: 53.48 kB / 0.9527 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2855, allocations: 81.36 kB / 0.9528 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2856, allocations: 171.9 kB / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2857, allocations: 25.7 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.2857, allocations: 108 kB / 0.9531 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.2857, allocations: 7.906 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2858, allocations: 13.72 kB / 0.9531 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2859, allocations: 318.8 kB / 0.9534 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.2859, allocations: 8 kB / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.286, allocations: 21.7 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.286, allocations: 33.66 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.286, allocations: 0 / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.279e-05/0.2861, allocations: 49.61 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.2862, allocations: 6.344 kB / 0.9535 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2862, allocations: 3.938 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2862, allocations: 8.062 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.2863, allocations: 11.92 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2863, allocations: 0 / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.2863, allocations: 11.84 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2863, allocations: 4 kB / 0.9536 GB, free: 5.215 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.215e-05/0.2864, allocations: 111.8 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.2865, allocations: 11.91 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.2865, allocations: 15.8 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2865, allocations: 0 / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2865, allocations: 4 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2865, allocations: 0 / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.2869, allocations: 470.8 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.287, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.287, allocations: 4 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.287, allocations: 0 / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.287, allocations: 4 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.287, allocations: 0 / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.287, allocations: 4.062 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.916e-05/0.2871, allocations: 81.77 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2872, allocations: 89.02 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.2872, allocations: 7.922 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.2872, allocations: 0 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.2873, allocations: 7.938 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.2873, allocations: 8.031 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.2874, allocations: 122.3 kB / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2874, allocations: 0 / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001949/0.2876, allocations: 8 kB / 0.9545 GB, free: 4.176 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.0001267/0.2877, allocations: 99.25 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.2878, allocations: 23.94 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2878, allocations: 0 / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.2879, allocations: 8.125 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.288, allocations: 15.92 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.2884, allocations: 180.7 kB / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2887, allocations: 0.6961 MB / 0.9555 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.2888, allocations: 11.44 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.2888, allocations: 3.938 kB / 0.9555 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.002498/0.2913, allocations: 0.8677 MB / 0.9563 GB, free: 2.199 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches