Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001718/0.001718, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002332/0.002332, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.568/2.568, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 71.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9042, allocations: 140.3 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002148/0.9064, allocations: 0.885 MB / 0.9498 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001073/0.9065, allocations: 41.28 kB / 0.9498 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.9066, allocations: 1.062 kB / 0.9498 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.9067, allocations: 7.938 kB / 0.9498 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.536e-05/0.9068, allocations: 5.422 kB / 0.9498 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.576e-05/0.9068, allocations: 15.78 kB / 0.9498 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.9069, allocations: 61.81 kB / 0.9499 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.9071, allocations: 43.03 kB / 0.9499 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.9072, allocations: 23.61 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.9072, allocations: 28.7 kB / 0.95 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.9072, allocations: 7.844 kB / 0.95 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.9073, allocations: 4.375 kB / 0.95 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.9073, allocations: 14.92 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.9073, allocations: 30.19 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.9074, allocations: 77.34 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9075, allocations: 0 / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9075, allocations: 0 / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.9075, allocations: 1.812 kB / 0.9501 GB, free: 8.211 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.0004484/0.9079, allocations: 377.4 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.908, allocations: 8.844 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.908, allocations: 10.16 kB / 0.9505 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.9082, allocations: 190 kB / 0.9507 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.9082, allocations: 7.688 kB / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.9083, allocations: 5.375 kB / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.9084, allocations: 93.33 kB / 0.9508 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9084, allocations: 1.781 kB / 0.9508 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.9085, allocations: 7.938 kB / 0.9508 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.9085, allocations: 2.875 kB / 0.9508 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.9086, allocations: 39.2 kB / 0.9508 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.9091, allocations: 437 kB / 0.9513 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.9092, allocations: 48.81 kB / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.9092, allocations: 19.31 kB / 0.9513 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.9092, allocations: 1.406 kB / 0.9513 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.9092, allocations: 31.81 kB / 0.9513 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.9093, allocations: 0 / 0.9513 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.9094, allocations: 62.12 kB / 0.9514 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.9095, allocations: 78.48 kB / 0.9515 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.9096, allocations: 165 kB / 0.9516 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.9096, allocations: 25.7 kB / 0.9517 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.9097, allocations: 108.8 kB / 0.9518 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/0.9097, allocations: 5.281 kB / 0.9518 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.9097, allocations: 16.72 kB / 0.9518 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.9098, allocations: 326 kB / 0.9521 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.9098, allocations: 3.75 kB / 0.9521 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.9099, allocations: 19.12 kB / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.9099, allocations: 25.12 kB / 0.9521 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9099, allocations: 0 / 0.9521 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.472e-05/0.91, allocations: 63.28 kB / 0.9522 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.91, allocations: 8.906 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.91, allocations: 5.125 kB / 0.9522 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.91, allocations: 5.312 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.9101, allocations: 5.281 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9101, allocations: 5.141 kB / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.9102, allocations: 1.344 kB / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.9102, allocations: 1.438 kB / 0.9522 GB, free: 6.051 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.471e-05/0.9103, allocations: 114.2 kB / 0.9523 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.9103, allocations: 8.281 kB / 0.9524 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.9103, allocations: 17.47 kB / 0.9524 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9103, allocations: 1.281 kB / 0.9524 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.9104, allocations: 5.312 kB / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9104, allocations: 0 / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.9106, allocations: 474.2 kB / 0.9528 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9107, allocations: 1.375 kB / 0.9528 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.9107, allocations: 6.844 kB / 0.9528 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.9107, allocations: 9.422 kB / 0.9528 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.9107, allocations: 3.938 kB / 0.9529 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9107, allocations: 1.375 kB / 0.9529 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9107, allocations: 0 / 0.9529 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.023e-05/0.9108, allocations: 82.14 kB / 0.9529 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.9108, allocations: 89.08 kB / 0.953 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.9108, allocations: 0 / 0.953 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.9108, allocations: 9.406 kB / 0.953 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.9109, allocations: 1.375 kB / 0.953 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.9109, allocations: 5.359 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.75e-05/0.9109, allocations: 115.5 kB / 0.9531 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9109, allocations: 0 / 0.9531 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001911/0.9111, allocations: 6.875 kB / 0.9531 GB, free: 5.098 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.0001064/0.9113, allocations: 101.1 kB / 0.9532 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.9113, allocations: 22.94 kB / 0.9533 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9113, allocations: 0 / 0.9533 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.9114, allocations: 7.875 kB / 0.9533 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.9115, allocations: 8.734 kB / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.9118, allocations: 186.9 kB / 0.9535 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.9119, allocations: 0.6906 MB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.912, allocations: 8.422 kB / 0.9541 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.912, allocations: 11.88 kB / 0.9542 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.912, allocations: 3.938 kB / 0.9542 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.002538/0.9146, allocations: 438.5 kB / 0.9546 GB, free: 3.863 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches