Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001289/0.001289, allocations: 109.2 kB / 16.37 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.001145/0.001145, allocations: 197.6 kB / 17.31 MB, free: 5.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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437.1 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.73 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002199/0.3346, allocations: 0.8252 MB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.3347, allocations: 39.78 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.3348, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.3348, allocations: 7.875 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.3349, allocations: 15.81 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.975e-05/0.335, allocations: 19.97 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3351, allocations: 67.75 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.3353, allocations: 43.95 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.3353, allocations: 31.8 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.3354, allocations: 27.8 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3354, allocations: 12 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.3354, allocations: 4 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.3355, allocations: 19.92 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.3355, allocations: 31.81 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3356, allocations: 71.69 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3356, allocations: 0 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3356, allocations: 3.938 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3356, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 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.0004034/0.336, allocations: 375.2 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3361, allocations: 12.92 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3361, allocations: 16.83 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3363, allocations: 188.2 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3363, allocations: 4.375 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3364, allocations: 8.375 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3365, allocations: 95.8 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3365, allocations: 192 / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3365, allocations: 7.938 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3366, allocations: 0 / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.3366, allocations: 39.98 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.3372, allocations: 440.5 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.3372, allocations: 37.16 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.3373, allocations: 25.88 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3373, allocations: 3.938 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3373, allocations: 34.56 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3373, allocations: 0 / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001762/0.3375, allocations: 61.47 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3376, allocations: 77.36 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3377, allocations: 162.2 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3377, allocations: 25.7 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.3378, allocations: 104 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-06/0.3378, allocations: 3.906 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3379, allocations: 17.72 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.338, allocations: 322.8 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.338, allocations: 11.94 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.3381, allocations: 21.72 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.3381, allocations: 25.66 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3381, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.102e-05/0.3382, allocations: 61.59 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3382, allocations: 4 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.3382, allocations: 7.875 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3382, allocations: 0 / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.3383, allocations: 12.06 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3383, allocations: 0 / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.3384, allocations: 11.83 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3384, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 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.949e-05/0.3384, allocations: 116.2 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.3385, allocations: 7.906 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3385, allocations: 11.81 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3385, allocations: 4 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3385, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3385, allocations: 4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.3389, allocations: 470.8 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3389, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.339, allocations: 4 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.339, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.339, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.339, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.339, allocations: 7.938 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.524e-05/0.3391, allocations: 89.83 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.3392, allocations: 81.02 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3392, allocations: 4 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.3392, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3392, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3393, allocations: 4.031 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3394, allocations: 121.7 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3394, allocations: 4 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001897/0.3396, allocations: 4 kB / 1.023 GB, free: 5.199 MB / 0.795 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.0001118/0.3397, allocations: 103.3 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.3398, allocations: 15.94 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3398, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.3398, allocations: 8.125 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.34, allocations: 11.94 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.3403, allocations: 166.8 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3406, allocations: 0.6963 MB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.3406, allocations: 16.48 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.3406, allocations: 11.44 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3406, allocations: 0 / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of Templates: time 0.002535/0.3432, allocations: 446.1 kB / 1.024 GB, free: 3.668 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches