Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001553, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.542/2.542, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.919, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002135/0.9212, allocations: 0.8174 MB / 0.9504 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.9213, allocations: 41.52 kB / 0.9504 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.9214, allocations: 9.469 kB / 0.9504 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.9215, allocations: 7.875 kB / 0.9504 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.9216, allocations: 15.84 kB / 0.9505 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.9216, allocations: 20.27 kB / 0.9505 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.9217, allocations: 51.33 kB / 0.9505 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.9219, allocations: 48.44 kB / 0.9506 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.922, allocations: 28.06 kB / 0.9506 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.922, allocations: 31.91 kB / 0.9506 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.9221, allocations: 6.875 kB / 0.9506 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.9221, allocations: 5.5 kB / 0.9506 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.9221, allocations: 14.69 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.9222, allocations: 34.67 kB / 0.9507 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.9223, allocations: 70.05 kB / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.9223, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9223, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9223, allocations: 5.375 kB / 0.9508 GB, free: 8.172 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.0004772/0.9228, allocations: 383.2 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.9228, allocations: 8.25 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.9229, allocations: 10.34 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.9231, allocations: 189.8 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.9231, allocations: 4.5 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.9231, allocations: 8.5 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.9233, allocations: 98.06 kB / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9233, allocations: 192 / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.9234, allocations: 5.312 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9234, allocations: 1.375 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.9235, allocations: 40.55 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.924, allocations: 436.5 kB / 0.9519 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.9241, allocations: 41.41 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.9241, allocations: 19.2 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.9241, allocations: 1.375 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.9241, allocations: 39.94 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.9241, allocations: 0 / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.9243, allocations: 53.92 kB / 0.952 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.9244, allocations: 82.61 kB / 0.9521 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.9245, allocations: 162.7 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.9245, allocations: 27.2 kB / 0.9523 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.9246, allocations: 108 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.9246, allocations: 13.47 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.9247, allocations: 24.42 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.9247, allocations: 322.2 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.9247, allocations: 2.969 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.9248, allocations: 21.67 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.9248, allocations: 23.81 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9248, allocations: 4 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.983e-05/0.9249, allocations: 62.62 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9249, allocations: 6.719 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.9249, allocations: 5.469 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.925, allocations: 0 / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.925, allocations: 5.688 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.925, allocations: 1.156 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.9251, allocations: 1.375 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.9251, allocations: 1.562 kB / 0.9529 GB, free: 6.008 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 6.616e-05/0.9251, allocations: 121.2 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.9252, allocations: 8.5 kB / 0.953 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.9252, allocations: 18.33 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.9252, allocations: 1.375 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9252, allocations: 1.344 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9252, allocations: 0 / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.9255, allocations: 470.6 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9256, allocations: 4.062 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.9256, allocations: 3.5 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9256, allocations: 1.562 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.9256, allocations: 8 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.9256, allocations: 1.406 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9256, allocations: 3.984 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.524e-05/0.9257, allocations: 78.03 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.9257, allocations: 91.91 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.9257, allocations: 1.625 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.9258, allocations: 5.469 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.9258, allocations: 7.984 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.9258, allocations: 1.344 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.9259, allocations: 121.8 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.62e-07/0.9259, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000192/0.9261, allocations: 11.41 kB / 0.9538 GB, free: 5.047 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.0001041/0.9262, allocations: 100.5 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.9263, allocations: 22.36 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9263, allocations: 0 / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.9263, allocations: 12.34 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.9265, allocations: 11.69 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.9268, allocations: 153.2 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.9269, allocations: 0.699 MB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.9269, allocations: 8.344 kB / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.927, allocations: 11.03 kB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.927, allocations: 1.375 kB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.002614/0.9296, allocations: 453.2 kB / 0.9552 GB, free: 3.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches