Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009594/0.0009599, allocations: 91.84 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.007274/0.007274, allocations: 170 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.4/1.4, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.9/2.9, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 10.53 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.000981/0.3429, allocations: 0.5453 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.994e-05/0.343, allocations: 39.78 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.3431, allocations: 4 kB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.3431, allocations: 11.92 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.3432, allocations: 0 / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.296e-05/0.3433, allocations: 23.92 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.3434, allocations: 59.7 kB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3435, allocations: 47.95 kB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.3436, allocations: 19.86 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.3436, allocations: 19.86 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3436, allocations: 0 / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.3437, allocations: 4 kB / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3437, allocations: 3.938 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.3437, allocations: 53.52 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.951e-05/0.3438, allocations: 67.95 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3438, allocations: 4 kB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3438, allocations: 3.938 kB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.3438, allocations: 0 / 1.06 GB, free: 4.582 MB / 0.8106 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.0003761/0.3442, allocations: 367.3 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3443, allocations: 8.031 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3443, allocations: 8.844 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3445, allocations: 192.2 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3445, allocations: 4.375 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3446, allocations: 8.375 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3447, allocations: 97.14 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3447, allocations: 192 / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3448, allocations: 7.938 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3448, allocations: 4 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.3449, allocations: 35.98 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.3454, allocations: 444.5 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.244e-05/0.3454, allocations: 41.16 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.3455, allocations: 25.88 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.3455, allocations: 0 / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3455, allocations: 30.56 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3455, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.3457, allocations: 57.47 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3458, allocations: 81.11 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3459, allocations: 161.1 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3459, allocations: 25.7 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.346, allocations: 111.9 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.346, allocations: 4 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.346, allocations: 9.969 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3462, allocations: 326.8 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.3462, allocations: 4 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.3462, allocations: 21.66 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.3463, allocations: 25.66 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.3463, allocations: 0 / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.253e-05/0.3463, allocations: 65.59 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3464, allocations: 4 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3464, allocations: 7.875 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.3464, allocations: 0 / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.3465, allocations: 8 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3465, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.3465, allocations: 7.844 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.3465, allocations: 4 kB / 1.062 GB, free: 2.164 MB / 0.8106 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 8.988e-05/0.3466, allocations: 117.8 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3467, allocations: 11.97 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.3467, allocations: 11.81 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3467, allocations: 4 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3467, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3467, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.3471, allocations: 466.8 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3471, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.3471, allocations: 16.05 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3471, allocations: 3.938 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3471, allocations: 0 / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3471, allocations: 0 / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3471, allocations: 4 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.3472, allocations: 77.88 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3473, allocations: 93.02 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3473, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.3474, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.3474, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3474, allocations: 4 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.177e-05/0.3475, allocations: 121.9 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3475, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001859/0.3477, allocations: 7.906 kB / 1.063 GB, free: 1.125 MB / 0.8106 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.0001056/0.3478, allocations: 103.2 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/0.3479, allocations: 19.92 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3479, allocations: 0 / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.3479, allocations: 4 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.348, allocations: 13.31 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.3484, allocations: 184.8 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3486, allocations: 0.6926 MB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.3487, allocations: 4.438 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.3487, allocations: 23.36 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3487, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of Templates: time 0.002442/0.3512, allocations: 420.9 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches