Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.0008121/0.0008121, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008761/0.0008762, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.669/2.669, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8651/0.8655, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001065/0.8666, allocations: 0.5113 MB / 0.9549 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001006/0.8667, allocations: 37.33 kB / 0.955 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.8668, allocations: 0.9688 kB / 0.955 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.8668, allocations: 3.938 kB / 0.955 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.8669, allocations: 5.188 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.171e-05/0.8669, allocations: 18.86 kB / 0.955 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.867, allocations: 58.23 kB / 0.9551 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.8672, allocations: 27.05 kB / 0.9551 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.8672, allocations: 21.33 kB / 0.9551 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.8673, allocations: 15.55 kB / 0.9551 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.8673, allocations: 1.281 kB / 0.9551 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-06/0.8673, allocations: 6.75 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.8674, allocations: 9.375 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.8674, allocations: 37.89 kB / 0.9552 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.587e-05/0.8675, allocations: 49.59 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8675, allocations: 0 / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8675, allocations: 1.344 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8675, allocations: 0 / 0.9552 GB, free: 7.098 MB / 0.7169 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.0003431/0.8678, allocations: 367.6 kB / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8679, allocations: 12.83 kB / 0.9556 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.8679, allocations: 20.98 kB / 0.9556 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.8681, allocations: 185.6 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.8681, allocations: 6.469 kB / 0.9558 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.8682, allocations: 4.906 kB / 0.9558 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.8683, allocations: 89.86 kB / 0.9559 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8683, allocations: 0 / 0.9559 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.8684, allocations: 5.469 kB / 0.9559 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.8684, allocations: 6.766 kB / 0.9559 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.8685, allocations: 46.22 kB / 0.9559 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.869, allocations: 434.3 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.869, allocations: 45.03 kB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.8691, allocations: 14.84 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.8691, allocations: 5.125 kB / 0.9564 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.8691, allocations: 35.33 kB / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8691, allocations: 1.031 kB / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001769/0.8693, allocations: 50.39 kB / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.8693, allocations: 86.58 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.8695, allocations: 163.5 kB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.8695, allocations: 26.73 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.8696, allocations: 103.5 kB / 0.9569 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.8696, allocations: 13.66 kB / 0.9569 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.8696, allocations: 4 kB / 0.9569 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.8697, allocations: 320.7 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.8697, allocations: 8.156 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.8697, allocations: 22.59 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.8698, allocations: 3.625 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8698, allocations: 1.5 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.186e-05/0.8698, allocations: 62.03 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8699, allocations: 5.281 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8699, allocations: 0.9375 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.8699, allocations: 0.75 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.87, allocations: 9.469 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.87, allocations: 1.281 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.87, allocations: 2.406 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.87, allocations: 0.9688 kB / 0.9573 GB, free: 4.984 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.8701, allocations: 120.8 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.8701, allocations: 8.25 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.8702, allocations: 10.97 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8702, allocations: 0.8438 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8702, allocations: 0.875 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.8702, allocations: 9.172 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.8705, allocations: 473.3 kB / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.8705, allocations: 1.156 kB / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.8705, allocations: 7.047 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8705, allocations: 1.094 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8706, allocations: 0 / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8706, allocations: 1.031 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.8706, allocations: 9.25 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.443e-05/0.8707, allocations: 78.02 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.8707, allocations: 87.47 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.8707, allocations: 5.188 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.8707, allocations: 1.031 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.8708, allocations: 4.969 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.8708, allocations: 5.062 kB / 0.9581 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.36e-05/0.8709, allocations: 119 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8709, allocations: 0 / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001965/0.8711, allocations: 15.52 kB / 0.9582 GB, free: 4.023 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001104/0.8712, allocations: 104 kB / 0.9583 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.8713, allocations: 21.72 kB / 0.9583 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8713, allocations: 1.219 kB / 0.9583 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.8713, allocations: 7.375 kB / 0.9583 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.8715, allocations: 7.469 kB / 0.9583 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.8719, allocations: 186.1 kB / 0.9585 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.8721, allocations: 0.6908 MB / 0.9592 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.8721, allocations: 7.984 kB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.8721, allocations: 12.19 kB / 0.9592 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of SimCode: time 1.212e-06/0.8721, allocations: 0 / 0.9592 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002495/0.8746, allocations: 415.8 kB / 0.9596 GB, free: 2.797 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches