Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007494/0.007494, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001577/0.001577, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4523, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00199/0.4543, allocations: 0.8253 MB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.4544, allocations: 39.84 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.4545, allocations: 4 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.4545, allocations: 7.875 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.382e-05/0.4546, allocations: 11.86 kB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.275e-05/0.4547, allocations: 19.98 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.4548, allocations: 59.84 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.455, allocations: 47.91 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.455, allocations: 31.8 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.4551, allocations: 23.86 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.4551, allocations: 4 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.4551, allocations: 8 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.4552, allocations: 19.92 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.4553, allocations: 31.75 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.4554, allocations: 79.62 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4554, allocations: 4 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4554, allocations: 0 / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4554, allocations: 0 / 1.209 GB, free: 8.414 MB / 0.9669 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.000491/0.4559, allocations: 383.2 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.456, allocations: 8.031 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.456, allocations: 12.83 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.4562, allocations: 188.2 kB / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4562, allocations: 4.375 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4562, allocations: 8.375 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.4564, allocations: 95.89 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4564, allocations: 4.172 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4564, allocations: 7.938 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4564, allocations: 0 / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.4566, allocations: 47.84 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.4572, allocations: 436.6 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.4572, allocations: 41.19 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.4573, allocations: 13.84 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.4573, allocations: 4 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4573, allocations: 38.56 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4573, allocations: 0 / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001938/0.4575, allocations: 57.47 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.4576, allocations: 81.11 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4577, allocations: 154.2 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4578, allocations: 29.7 kB / 1.21 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.4578, allocations: 104 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.4578, allocations: 4.156 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.4579, allocations: 25.62 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.458, allocations: 318.8 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.458, allocations: 4 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.458, allocations: 21.72 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.4581, allocations: 33.58 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4581, allocations: 4 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.709e-05/0.4582, allocations: 53.64 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4582, allocations: 4 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4582, allocations: 7.938 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4582, allocations: 0 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.4583, allocations: 7.984 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4583, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.4583, allocations: 11.84 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.4583, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 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 7.353e-05/0.4584, allocations: 117.9 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.4585, allocations: 11.91 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.4585, allocations: 15.81 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4585, allocations: 0 / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4585, allocations: 3.984 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4585, allocations: 4 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.4589, allocations: 462.8 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4589, allocations: 8.062 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.4589, allocations: 0 / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4589, allocations: 4 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.459, allocations: 4 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.459, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.459, allocations: 3.938 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.386e-05/0.4591, allocations: 89.67 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.4591, allocations: 85.02 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.4591, allocations: 0 / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.4592, allocations: 8 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.4592, allocations: 3.984 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.4592, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002175/0.4594, allocations: 121.9 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4594, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001833/0.4596, allocations: 8 kB / 1.212 GB, free: 4.938 MB / 0.9669 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.0001088/0.4597, allocations: 99.28 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.4598, allocations: 19.94 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4598, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.4599, allocations: 8 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.46, allocations: 17.12 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.4603, allocations: 164.9 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.4607, allocations: 0.6929 MB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.4608, allocations: 8.422 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.4608, allocations: 11.44 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4608, allocations: 0 / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.002511/0.4633, allocations: 473 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches