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.001226/0.001226, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.001232/0.001232, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.473/2.473, allocations: 390.3 MB / 0.665 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.8 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2711, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002453/0.2736, allocations: 0.8823 MB / 0.9506 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.2738, allocations: 39.78 kB / 0.9507 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.2739, allocations: 0 / 0.9507 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.208e-05/0.274, allocations: 3.938 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.2741, allocations: 11.92 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.892e-05/0.2742, allocations: 16 kB / 0.9507 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2743, allocations: 59.84 kB / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2744, allocations: 43.95 kB / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.2745, allocations: 31.8 kB / 0.9508 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.2746, allocations: 27.84 kB / 0.9509 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2746, allocations: 4 kB / 0.9509 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.2746, allocations: 8 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.2747, allocations: 19.92 kB / 0.9509 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2747, allocations: 27.81 kB / 0.9509 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2748, allocations: 52.19 kB / 0.951 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2748, allocations: 0 / 0.951 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.068e-06/0.2748, allocations: 3.984 kB / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2749, allocations: 0 / 0.951 GB, free: 8.004 MB / 0.7325 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.0004796/0.2753, allocations: 375.2 kB / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2754, allocations: 11.97 kB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.2754, allocations: 12.84 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2757, allocations: 200.1 kB / 0.9515 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2757, allocations: 8.375 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.2757, allocations: 8.375 kB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2759, allocations: 101.7 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2759, allocations: 192 / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2759, allocations: 7.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2759, allocations: 0 / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.276, allocations: 35.98 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.2766, allocations: 432.6 kB / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.2767, allocations: 37.14 kB / 0.9521 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.2767, allocations: 21.84 kB / 0.9522 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.2767, allocations: 4 kB / 0.9522 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2767, allocations: 34.59 kB / 0.9522 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2768, allocations: 0 / 0.9522 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.2769, allocations: 65.47 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.277, allocations: 77.11 kB / 0.9523 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2771, allocations: 167.5 kB / 0.9525 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2772, allocations: 25.95 kB / 0.9525 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.2772, allocations: 108 kB / 0.9526 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.2773, allocations: 7.891 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2773, allocations: 17.72 kB / 0.9527 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2774, allocations: 314.8 kB / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.2775, allocations: 11.98 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.2775, allocations: 17.72 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.681e-05/0.2776, allocations: 29.66 kB / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2776, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.709e-05/0.2777, allocations: 61.59 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2777, allocations: 4 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2777, allocations: 3.938 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2777, allocations: 0 / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.2778, allocations: 11.94 kB / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2778, allocations: 3.938 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.2778, allocations: 7.906 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2778, allocations: 8 kB / 0.9531 GB, free: 5.555 MB / 0.7325 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 8.86e-05/0.2779, allocations: 117.8 kB / 0.9532 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.278, allocations: 7.906 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.278, allocations: 7.906 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.278, allocations: 7.984 kB / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.278, allocations: 0 / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.278, allocations: 0 / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.2784, allocations: 478.8 kB / 0.9537 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2784, allocations: 0 / 0.9537 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.2785, allocations: 8 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2785, allocations: 3.984 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2785, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2785, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2785, allocations: 4 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.375e-05/0.2786, allocations: 85.84 kB / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.2787, allocations: 89 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2787, allocations: 0 / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.2787, allocations: 0 / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.2787, allocations: 0 / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2787, allocations: 4 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.401e-05/0.2788, allocations: 122.5 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2788, allocations: 0 / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001891/0.279, allocations: 12.03 kB / 0.954 GB, free: 4.516 MB / 0.7325 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.0001139/0.2792, allocations: 99.25 kB / 0.9541 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.751e-05/0.2792, allocations: 19.92 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2793, allocations: 7.938 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.2793, allocations: 4 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.2794, allocations: 9.312 kB / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.2798, allocations: 219.6 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2801, allocations: 0.6961 MB / 0.955 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.2801, allocations: 15.44 kB / 0.955 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2801, allocations: 0 / 0.955 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.002363/0.2825, allocations: 0.8676 MB / 0.9559 GB, free: 2.512 MB / 0.7325 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/jenkins1/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