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.0009288/0.0009288, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006765/0.006765, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.48/2.48, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004157, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8117/0.8121, allocations: 142.4 MB / 0.955 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001028/0.8132, allocations: 0.5459 MB / 0.9556 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.8133, allocations: 40.03 kB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.8134, allocations: 2.781 kB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.8134, allocations: 3.938 kB / 0.9556 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.8135, allocations: 3.984 kB / 0.9556 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.737e-05/0.8136, allocations: 11.53 kB / 0.9556 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.8137, allocations: 62.59 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.8138, allocations: 43.95 kB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.8139, allocations: 13.23 kB / 0.9557 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.8139, allocations: 23.95 kB / 0.9558 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.814, allocations: 5.422 kB / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.814, allocations: 2.719 kB / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.814, allocations: 13.31 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.8141, allocations: 50.58 kB / 0.9558 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.959e-05/0.8142, allocations: 70.53 kB / 0.9559 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.8142, allocations: 1.469 kB / 0.9559 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8142, allocations: 0 / 0.9559 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8142, allocations: 0 / 0.9559 GB, free: 7.078 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.0003549/0.8145, allocations: 357 kB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8146, allocations: 9.656 kB / 0.9563 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.8146, allocations: 17.53 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.8148, allocations: 198 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.8149, allocations: 8.375 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.8149, allocations: 12.09 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.815, allocations: 91.61 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8151, allocations: 192 / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8151, allocations: 9.375 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8151, allocations: 1.438 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/0.8152, allocations: 40.02 kB / 0.9566 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.8156, allocations: 434.1 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.8157, allocations: 41.05 kB / 0.9571 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.8157, allocations: 23.28 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.8158, allocations: 1.188 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.8158, allocations: 31.75 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8158, allocations: 0 / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.816, allocations: 55.05 kB / 0.9572 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.816, allocations: 90 kB / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8161, allocations: 156.8 kB / 0.9574 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.8162, allocations: 35.06 kB / 0.9574 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.8162, allocations: 104.3 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/0.8162, allocations: 8.953 kB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.8163, allocations: 11 kB / 0.9576 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.8163, allocations: 315.9 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.8163, allocations: 7.422 kB / 0.9579 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.8164, allocations: 22.97 kB / 0.9579 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.8164, allocations: 30.25 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.8164, allocations: 0.9062 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.459e-05/0.8165, allocations: 59.38 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8165, allocations: 4.812 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8165, allocations: 3.938 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8165, allocations: 1.281 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.8166, allocations: 5.125 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.8166, allocations: 1.25 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.8167, allocations: 10.38 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.8167, allocations: 1.406 kB / 0.958 GB, free: 4.926 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.681e-05/0.8167, allocations: 114 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.8168, allocations: 7.719 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.8168, allocations: 22.53 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8168, allocations: 1.281 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8168, allocations: 0 / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8168, allocations: 1.344 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.8171, allocations: 477.7 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8171, allocations: 0.9062 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.8171, allocations: 3.25 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8171, allocations: 3.938 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.8171, allocations: 1.219 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.8172, allocations: 9.047 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8172, allocations: 0 / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.267e-05/0.8172, allocations: 78.84 kB / 0.9587 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.8173, allocations: 95.88 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.8173, allocations: 1.094 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.8173, allocations: 5.469 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.8173, allocations: 5.406 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.8173, allocations: 0 / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.8174, allocations: 124.6 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8174, allocations: 0 / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001822/0.8176, allocations: 7.188 kB / 0.9589 GB, free: 3.965 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 0.0001034/0.8177, allocations: 97.19 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.8178, allocations: 21.42 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8178, allocations: 1.125 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.8178, allocations: 8.406 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.818, allocations: 12.72 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.8183, allocations: 182.2 kB / 0.9592 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.8184, allocations: 0.6991 MB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.8184, allocations: 4.031 kB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.8185, allocations: 11.03 kB / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.8185, allocations: 0 / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.002617/0.8211, allocations: 432 kB / 0.9603 GB, free: 2.734 MB / 0.7169 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/jenkins/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