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.001704/0.001704, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002843/0.002843, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.64/2.64, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9764/0.9779, allocations: 140.4 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002514/0.9805, allocations: 0.8291 MB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.9807, allocations: 41.09 kB / 0.9504 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.9808, allocations: 1.531 kB / 0.9504 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.9808, allocations: 11.86 kB / 0.9504 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.9809, allocations: 9.062 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.854e-05/0.981, allocations: 18.98 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.9812, allocations: 59.84 kB / 0.9505 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.9814, allocations: 44.84 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.9815, allocations: 23.59 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.9815, allocations: 33.05 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.9816, allocations: 6.312 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.9816, allocations: 5.938 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.9816, allocations: 17.39 kB / 0.9507 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.9817, allocations: 30.94 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.9818, allocations: 82.25 kB / 0.9508 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.9818, allocations: 1.531 kB / 0.9508 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9818, allocations: 3.938 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.9818, allocations: 0 / 0.9508 GB, free: 8.316 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.0004689/0.9823, allocations: 374.9 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9823, allocations: 9.156 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.9824, allocations: 9.375 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.9826, allocations: 194 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.9826, allocations: 12.38 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.9826, allocations: 5.625 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9828, allocations: 89.52 kB / 0.9514 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.9828, allocations: 192 / 0.9514 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.9829, allocations: 5.375 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.9829, allocations: 2.812 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/0.983, allocations: 39.36 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.9835, allocations: 435.8 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.9835, allocations: 42 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.9836, allocations: 19 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.9836, allocations: 5.375 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.9836, allocations: 32 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.9836, allocations: 0 / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001997/0.9838, allocations: 58.81 kB / 0.952 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9839, allocations: 82.33 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.984, allocations: 163 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.9841, allocations: 25.95 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.9841, allocations: 116.7 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.9841, allocations: 9.109 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.9842, allocations: 17.41 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.9843, allocations: 325.5 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.9843, allocations: 2.469 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.9843, allocations: 22.67 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.9843, allocations: 26.72 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9844, allocations: 0 / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.119e-05/0.9844, allocations: 63.06 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9845, allocations: 7.219 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9845, allocations: 5.125 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9845, allocations: 0 / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.9846, allocations: 5.531 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.9846, allocations: 5.047 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.9846, allocations: 6.406 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.9846, allocations: 1.062 kB / 0.9529 GB, free: 6.152 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 6.716e-05/0.9847, allocations: 114.2 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.9848, allocations: 15.19 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.9848, allocations: 14.66 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9848, allocations: 0.9375 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9848, allocations: 5.062 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.9848, allocations: 1.094 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.9851, allocations: 477.2 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9851, allocations: 1.219 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.9851, allocations: 6.562 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9851, allocations: 1.25 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9852, allocations: 1.25 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9852, allocations: 0 / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9852, allocations: 1.219 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.802e-05/0.9853, allocations: 82.52 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.9853, allocations: 88.11 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.9853, allocations: 1.312 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.9854, allocations: 7.938 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.9854, allocations: 5.312 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.9854, allocations: 5.516 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.451e-05/0.9855, allocations: 116.4 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9855, allocations: 4.031 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001964/0.9857, allocations: 6.438 kB / 0.9538 GB, free: 5.195 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.0001327/0.9858, allocations: 101.4 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.9859, allocations: 18.62 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.986, allocations: 1.125 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.986, allocations: 11.47 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.9861, allocations: 7.188 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.9864, allocations: 158.5 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.9866, allocations: 0.6982 MB / 0.9548 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.9866, allocations: 8.984 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.9867, allocations: 11.44 kB / 0.9548 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9867, allocations: 0 / 0.9548 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.00269/0.9894, allocations: 453.2 kB / 0.9552 GB, free: 3.984 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