Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006728/0.006728, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.001417/0.001417, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 71.86 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7424, allocations: 140.3 MB / 0.9496 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001952/0.7444, allocations: 0.8844 MB / 0.9504 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.7445, allocations: 44.94 kB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.7446, allocations: 2.469 kB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.396e-05/0.7446, allocations: 7.922 kB / 0.9505 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.7447, allocations: 1.219 kB / 0.9505 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.513e-05/0.7448, allocations: 18.47 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.7449, allocations: 55.12 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.745, allocations: 50.77 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.7451, allocations: 24.11 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.7452, allocations: 23.98 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.7452, allocations: 4.125 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.7452, allocations: 4.125 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.7452, allocations: 18.61 kB / 0.9507 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.7453, allocations: 38.61 kB / 0.9507 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.434e-05/0.7453, allocations: 55.48 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7454, allocations: 0 / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7454, allocations: 1.375 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.7454, allocations: 0 / 0.9508 GB, free: 8.328 MB / 0.7169 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.0003911/0.7458, allocations: 374.5 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7458, allocations: 9.625 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.7459, allocations: 8.969 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.746, allocations: 189.8 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.746, allocations: 12.5 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.7461, allocations: 8.438 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.7462, allocations: 90.08 kB / 0.9514 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7462, allocations: 192 / 0.9514 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7462, allocations: 9.312 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.7462, allocations: 1.375 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.7463, allocations: 36.55 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.7468, allocations: 440.6 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.7469, allocations: 41.31 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.7469, allocations: 19.22 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.7469, allocations: 5.375 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.747, allocations: 31.94 kB / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.747, allocations: 0 / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.7471, allocations: 59.22 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7472, allocations: 77.11 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.7473, allocations: 163.7 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.7473, allocations: 29.7 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.7474, allocations: 108.5 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.7474, allocations: 8.906 kB / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.7474, allocations: 13.41 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.7475, allocations: 321.6 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.7475, allocations: 7.438 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.7476, allocations: 23.22 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.7476, allocations: 30 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7476, allocations: 3.938 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.588e-05/0.7477, allocations: 58.62 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7477, allocations: 5.688 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7477, allocations: 3.938 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7477, allocations: 1.531 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.7478, allocations: 5.562 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7478, allocations: 5.312 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.7478, allocations: 1.25 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.7478, allocations: 6.547 kB / 0.9529 GB, free: 6.168 MB / 0.7169 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 5.432e-05/0.7479, allocations: 112.9 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.748, allocations: 7.656 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.748, allocations: 14.53 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.748, allocations: 1.25 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.748, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.748, allocations: 1.188 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.7483, allocations: 482.9 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7483, allocations: 3.984 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.7483, allocations: 2.781 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7483, allocations: 1.062 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7483, allocations: 1.281 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7483, allocations: 3.938 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7483, allocations: 1.312 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.106e-05/0.7484, allocations: 77.91 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.7485, allocations: 96.5 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.7485, allocations: 1.188 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.7485, allocations: 0.9062 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.7485, allocations: 0.9375 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.7485, allocations: 1.344 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.7486, allocations: 124 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7486, allocations: 1.625 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001937/0.7488, allocations: 5.594 kB / 0.9538 GB, free: 5.223 MB / 0.7169 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 8.96e-05/0.7489, allocations: 104.6 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.749, allocations: 14.75 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.749, allocations: 0 / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.749, allocations: 12.12 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.7492, allocations: 20.66 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.7495, allocations: 206.2 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.7496, allocations: 0.6982 MB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.7496, allocations: 12.47 kB / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7496, allocations: 0 / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of Templates: time 0.002236/0.7519, allocations: 0.8508 MB / 0.9557 GB, free: 3.742 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches