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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001134/0.001134, allocations: 196.3 kB / 16.14 MB, free: 6.734 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.88 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.765, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002629/0.7677, allocations: 0.8807 MB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.7678, allocations: 41.28 kB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.7679, allocations: 1.375 kB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.768, allocations: 3.938 kB / 0.9498 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.7681, allocations: 7.922 kB / 0.9498 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.182e-05/0.7681, allocations: 12.12 kB / 0.9498 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.7682, allocations: 63.22 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.7684, allocations: 33.72 kB / 0.9499 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.7685, allocations: 36.03 kB / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.7686, allocations: 23.98 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.7686, allocations: 4.25 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.7686, allocations: 3.625 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.7687, allocations: 22.39 kB / 0.95 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.7687, allocations: 27.12 kB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.7689, allocations: 72.91 kB / 0.9501 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7689, allocations: 1.062 kB / 0.9501 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7689, allocations: 0 / 0.9501 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.7689, allocations: 0 / 0.9501 GB, free: 8.293 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.0004923/0.7694, allocations: 378.4 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.7695, allocations: 9.719 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.7695, allocations: 9.469 kB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.7697, allocations: 198 kB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.7698, allocations: 4.656 kB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.7698, allocations: 8.5 kB / 0.9507 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.77, allocations: 85.83 kB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.77, allocations: 192 / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.77, allocations: 9.094 kB / 0.9508 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.77, allocations: 6.594 kB / 0.9508 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.173e-05/0.7701, allocations: 43.36 kB / 0.9508 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.7707, allocations: 432.2 kB / 0.9513 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.7708, allocations: 46.05 kB / 0.9513 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.7708, allocations: 18.91 kB / 0.9513 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.7708, allocations: 1.688 kB / 0.9513 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.7708, allocations: 36.03 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.7708, allocations: 0 / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.771, allocations: 66.25 kB / 0.9514 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.7711, allocations: 78.3 kB / 0.9515 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.7712, allocations: 159.8 kB / 0.9516 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.7713, allocations: 29.64 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.7713, allocations: 107.7 kB / 0.9518 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/0.7713, allocations: 13.22 kB / 0.9518 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.7714, allocations: 17.72 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.7715, allocations: 320.4 kB / 0.9521 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.7715, allocations: 7.406 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.7715, allocations: 18.78 kB / 0.9521 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.7716, allocations: 22.66 kB / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7716, allocations: 0 / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.608e-05/0.7717, allocations: 62.94 kB / 0.9522 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7717, allocations: 5.969 kB / 0.9522 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.7717, allocations: 8 kB / 0.9522 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7717, allocations: 1.156 kB / 0.9522 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.7718, allocations: 5.844 kB / 0.9522 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.7718, allocations: 5.281 kB / 0.9522 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.7718, allocations: 1.25 kB / 0.9522 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.7718, allocations: 1.281 kB / 0.9522 GB, free: 6.125 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.7719, allocations: 121.4 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.772, allocations: 8.656 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.772, allocations: 14.19 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.772, allocations: 5.156 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.772, allocations: 0.6875 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.772, allocations: 1.5 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.7723, allocations: 470 kB / 0.9528 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7723, allocations: 0 / 0.9528 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.7724, allocations: 7.328 kB / 0.9528 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7724, allocations: 1.375 kB / 0.9528 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.7724, allocations: 4.062 kB / 0.9528 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.7724, allocations: 1.219 kB / 0.9528 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7724, allocations: 0 / 0.9528 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.084e-05/0.7725, allocations: 83.34 kB / 0.9529 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.7725, allocations: 91.84 kB / 0.953 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.7726, allocations: 1.156 kB / 0.953 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.7726, allocations: 4.031 kB / 0.953 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.7726, allocations: 4.969 kB / 0.953 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.7726, allocations: 5.562 kB / 0.953 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000109/0.7727, allocations: 124.6 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7728, allocations: 0 / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001833/0.7729, allocations: 7.25 kB / 0.9532 GB, free: 5.168 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 (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.0001413/0.7731, allocations: 100.5 kB / 0.9533 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.755e-05/0.7732, allocations: 18.44 kB / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7732, allocations: 1.406 kB / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.7732, allocations: 7 kB / 0.9533 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.7734, allocations: 13.84 kB / 0.9533 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.7737, allocations: 181.4 kB / 0.9535 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.7739, allocations: 0.6916 MB / 0.9541 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.774, allocations: 8.828 kB / 0.9541 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.774, allocations: 11.56 kB / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.774, allocations: 0 / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.002845/0.7769, allocations: 434 kB / 0.9546 GB, free: 3.945 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