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.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_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.01462/0.01462, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001419/0.001419, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.3 MB, free: 15.13 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.9508 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.154, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00209/1.156, allocations: 0.8233 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/1.156, allocations: 41.64 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/1.156, allocations: 1 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/1.156, allocations: 13.05 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/1.156, allocations: 13.89 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.984e-05/1.156, allocations: 17.59 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/1.157, allocations: 62.67 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/1.157, allocations: 37.34 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/1.157, allocations: 30.98 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/1.157, allocations: 31.3 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/1.157, allocations: 5.219 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/1.157, allocations: 7.031 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/1.157, allocations: 16.19 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/1.157, allocations: 28.78 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/1.157, allocations: 74.72 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.157, allocations: 0 / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/1.157, allocations: 0 / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.157, allocations: 5.031 kB / 1.089 GB, free: 4.758 MB / 0.8575 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.0003938/1.158, allocations: 387 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.158, allocations: 10.16 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/1.158, allocations: 12.25 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/1.158, allocations: 189.1 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.158, allocations: 7.656 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/1.158, allocations: 4.812 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.158, allocations: 101.7 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.158, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/1.158, allocations: 9.062 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.158, allocations: 3.219 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.264e-05/1.158, allocations: 31.86 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/1.159, allocations: 442.2 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.527e-05/1.159, allocations: 41.36 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.159, allocations: 24.7 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/1.159, allocations: 3.938 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/1.159, allocations: 37.39 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.159, allocations: 4 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/1.159, allocations: 56.8 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/1.159, allocations: 77.8 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/1.159, allocations: 159.4 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/1.159, allocations: 26.92 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/1.159, allocations: 103.7 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/1.159, allocations: 9.578 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/1.159, allocations: 13.67 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/1.159, allocations: 324 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/1.159, allocations: 7.922 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/1.159, allocations: 16.12 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/1.16, allocations: 31.89 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.16, allocations: 0 / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.649e-05/1.16, allocations: 57.25 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.16, allocations: 5.672 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.16, allocations: 4.969 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.16, allocations: 0.9688 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/1.16, allocations: 10.08 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.16, allocations: 1.125 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/1.16, allocations: 10.48 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/1.16, allocations: 2.188 kB / 1.091 GB, free: 2.688 MB / 0.8575 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.632e-05/1.16, allocations: 114.4 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/1.16, allocations: 12 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/1.16, allocations: 12.25 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.16, allocations: 5.031 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.16, allocations: 96 / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.16, allocations: 5.547 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/1.16, allocations: 470.3 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.16, allocations: 0.9688 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/1.16, allocations: 8.125 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.16, allocations: 1.344 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.16, allocations: 0.5156 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.16, allocations: 5.281 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.16, allocations: 0.7031 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/1.16, allocations: 80.72 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/1.16, allocations: 98.98 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/1.16, allocations: 1.609 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/1.161, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/1.161, allocations: 1.641 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/1.161, allocations: 1.094 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.452e-05/1.161, allocations: 122.1 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.161, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001837/1.161, allocations: 7.531 kB / 1.092 GB, free: 1.77 MB / 0.8575 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.0001181/1.161, allocations: 106 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001026/1.161, allocations: 23.52 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.161, allocations: 0 / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/1.161, allocations: 4.969 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/1.161, allocations: 11.84 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/1.162, allocations: 167.9 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/1.162, allocations: 0.6962 MB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.678e-05/1.162, allocations: 6.609 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/1.162, allocations: 11.28 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.162, allocations: 1.031 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of Templates: time 0.002789/1.165, allocations: 475 kB / 1.094 GB, free: 0.7031 MB / 0.8575 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/jenkins/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