Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001461/0.001461, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001648/0.001648, allocations: 189.5 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 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.503/2.503, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 69.52 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002266/0.3588, allocations: 0.823 MB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.359, allocations: 47.78 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.359, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.3591, allocations: 7.922 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.3592, allocations: 11.88 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.64e-05/0.3592, allocations: 15.98 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3594, allocations: 67.69 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3595, allocations: 59.92 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.3596, allocations: 23.88 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.3597, allocations: 31.78 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3597, allocations: 8 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.3597, allocations: 4 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3597, allocations: 11.94 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.3598, allocations: 35.8 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3599, allocations: 79.62 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3599, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3599, allocations: 4 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3599, allocations: 0 / 1.02 GB, free: 8.652 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.0004487/0.3604, allocations: 375.2 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3604, allocations: 8.625 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3605, allocations: 12.84 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3607, allocations: 188.2 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3607, allocations: 8.375 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3607, allocations: 4.375 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3609, allocations: 103.8 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3609, allocations: 192 / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3609, allocations: 7.938 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3609, allocations: 0 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.361, allocations: 35.92 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.3616, allocations: 436.6 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/0.3616, allocations: 45.12 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.3617, allocations: 25.83 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3617, allocations: 0 / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3617, allocations: 34.5 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3617, allocations: 4 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.3619, allocations: 57.48 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3619, allocations: 77.11 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3621, allocations: 160.9 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.3621, allocations: 25.7 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3622, allocations: 104 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.3622, allocations: 7.906 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3622, allocations: 21.95 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3624, allocations: 318.8 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.3624, allocations: 8 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.3625, allocations: 21.64 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.3625, allocations: 25.72 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3625, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.849e-05/0.3626, allocations: 61.53 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3626, allocations: 8 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3626, allocations: 3.938 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3627, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.3627, allocations: 8 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3627, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.3628, allocations: 7.844 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3628, 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 9.48e-05/0.3629, allocations: 117.9 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3629, allocations: 7.906 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.3629, allocations: 15.8 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.363, allocations: 4.094 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.363, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.363, allocations: 3.984 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.3633, allocations: 470.8 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3634, allocations: 64 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.3634, allocations: 11.94 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3634, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3634, allocations: 4 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3634, allocations: 0 / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.3634, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.3635, allocations: 81.77 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.3636, allocations: 93.03 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3636, allocations: 4 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.3636, allocations: 0 / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.3636, allocations: 3.938 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3636, allocations: 4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.892e-05/0.3637, allocations: 115.2 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001822/0.3639, allocations: 8 kB / 1.023 GB, free: 5.184 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.0001289/0.3641, allocations: 107.2 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.3642, allocations: 15.98 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3642, allocations: 4 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.3642, allocations: 11.94 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.3644, allocations: 7.938 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3647, allocations: 154.8 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.365, allocations: 0.7004 MB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.3651, allocations: 4.438 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3651, allocations: 11.44 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3651, allocations: 0 / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of Templates: time 0.002538/0.3676, allocations: 456.5 kB / 1.024 GB, free: 3.656 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches