Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.00167, allocations: 102.2 kB / 16.27 MB, free: 6 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.001784/0.001784, allocations: 191 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.507/1.507, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.264/2.264, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 77.59 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 140.4 MB / 0.9503 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002259/0.2785, allocations: 0.8404 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.2787, allocations: 35.8 kB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.2787, allocations: 4 kB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.2788, allocations: 7.875 kB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.2789, allocations: 11.86 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.541e-05/0.279, allocations: 19.98 kB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2791, allocations: 63.83 kB / 0.9512 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2793, allocations: 43.97 kB / 0.9513 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.2793, allocations: 15.94 kB / 0.9513 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.2794, allocations: 31.78 kB / 0.9513 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2794, allocations: 8 kB / 0.9513 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.2795, allocations: 4 kB / 0.9513 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.2795, allocations: 23.86 kB / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.2795, allocations: 27.81 kB / 0.9514 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2796, allocations: 75.98 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2797, allocations: 0 / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2797, allocations: 0 / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2797, allocations: 4 kB / 0.9514 GB, free: 7.719 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.0004767/0.2802, allocations: 380.5 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2802, allocations: 8.031 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2803, allocations: 8.844 kB / 0.9518 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.2805, allocations: 192.2 kB / 0.952 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2805, allocations: 4.375 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.2805, allocations: 12.31 kB / 0.952 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2807, allocations: 102.5 kB / 0.9521 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2807, allocations: 192 / 0.9521 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2807, allocations: 3.938 kB / 0.9521 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2807, allocations: 4 kB / 0.9521 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.2808, allocations: 39.92 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.2814, allocations: 436.7 kB / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.2815, allocations: 45.17 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.2815, allocations: 21.78 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.2815, allocations: 4 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2816, allocations: 30.56 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.552e-06/0.2816, allocations: 4 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.2818, allocations: 57.47 kB / 0.9527 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.2818, allocations: 81.11 kB / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.282, allocations: 168.1 kB / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.282, allocations: 29.7 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.2821, allocations: 99.98 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.2821, allocations: 7.891 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2821, allocations: 21.97 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2823, allocations: 314.8 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.2823, allocations: 7.984 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.2823, allocations: 21.66 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.2824, allocations: 29.72 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2824, allocations: 0 / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.962e-05/0.2825, allocations: 61.53 kB / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2825, allocations: 4 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2825, allocations: 7.938 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2825, allocations: 0 / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.2826, allocations: 4 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2826, allocations: 0 / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.2827, allocations: 11.84 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2827, allocations: 0 / 0.9536 GB, free: 5.281 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.166e-05/0.2828, allocations: 117.9 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.2828, allocations: 11.89 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.2828, allocations: 15.81 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2829, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2829, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2829, allocations: 4 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.2833, allocations: 466.8 kB / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2833, allocations: 4.062 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.2833, allocations: 4 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2833, allocations: 4 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2833, allocations: 3.984 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2833, allocations: 3.938 kB / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2833, allocations: 0 / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2835, allocations: 73.84 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.2835, allocations: 97.03 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2835, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.2836, allocations: 8 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.2836, allocations: 3.938 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2836, allocations: 3.938 kB / 0.9544 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.725e-05/0.2837, allocations: 120.7 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2837, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001931/0.2839, allocations: 8 kB / 0.9545 GB, free: 4.238 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.284, allocations: 99.25 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.2841, allocations: 27.92 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2841, allocations: 0 / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.2842, allocations: 8 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.2843, allocations: 15.88 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.2847, allocations: 184.8 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.285, allocations: 0.6922 MB / 0.9555 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.285, allocations: 11.44 kB / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.285, allocations: 0 / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.002309/0.2873, allocations: 0.86 MB / 0.9563 GB, free: 2.27 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches