Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001467/0.001467, allocations: 188.3 kB / 16.91 MB, free: 5.746 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 469.8 MB / 0.7427 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 70.5 kB / 0.9087 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2705, allocations: 159.2 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002006/0.2726, allocations: 0.8803 MB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000108/0.2727, allocations: 43.78 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.2727, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.2728, allocations: 3.938 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.2729, allocations: 7.938 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.838e-05/0.2729, allocations: 15.98 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.273, allocations: 59.84 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2732, allocations: 51.94 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.2732, allocations: 31.8 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.2733, allocations: 23.86 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2733, allocations: 8 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.2733, allocations: 4 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2734, allocations: 15.92 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.2734, allocations: 35.75 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.2735, allocations: 52.17 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2735, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2735, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2735, allocations: 4 kB / 1.065 GB, free: 13.4 MB / 0.8262 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.0004398/0.274, allocations: 379.2 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.274, allocations: 12.03 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.274, allocations: 12.75 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2742, allocations: 188.2 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2743, allocations: 8.375 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2743, allocations: 8.375 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2744, allocations: 99.94 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2745, allocations: 4.125 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2745, allocations: 3.938 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2745, allocations: 4 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.49e-05/0.2746, allocations: 35.98 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.2752, allocations: 432.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.2753, allocations: 41.16 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.2753, allocations: 21.77 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.2753, allocations: 0 / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.2754, allocations: 38.5 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2754, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.2755, allocations: 49.55 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.2756, allocations: 81.05 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2758, allocations: 164.9 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2758, allocations: 25.7 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.2759, allocations: 104 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.2759, allocations: 15.89 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.276, allocations: 21.95 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2761, allocations: 314.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.2762, allocations: 8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.2762, allocations: 21.64 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.2762, allocations: 25.72 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2763, allocations: 4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.257e-05/0.2763, allocations: 61.53 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2764, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2764, allocations: 7.938 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2764, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.2765, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2765, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.2765, allocations: 15.78 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2765, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 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 0.000102/0.2766, allocations: 113.9 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.2767, allocations: 11.91 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.2767, allocations: 15.8 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2767, allocations: 3.938 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2767, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2767, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.2772, allocations: 470.8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2772, allocations: 4.156 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.2772, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2772, allocations: 3.984 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2772, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2773, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2773, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.639e-05/0.2773, allocations: 81.77 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.2774, allocations: 97.03 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2774, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.2775, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.2775, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.2775, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.2776, allocations: 119.2 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2776, allocations: 0 / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001794/0.2778, allocations: 8 kB / 1.068 GB, free: 9.922 MB / 0.8262 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.0001202/0.2779, allocations: 103.2 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.278, allocations: 23.92 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.278, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.278, allocations: 7.938 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2782, allocations: 11.94 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.2785, allocations: 208.8 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2788, allocations: 0.6963 MB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.2788, allocations: 11.44 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2788, allocations: 0 / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.002244/0.2811, allocations: 0.8656 MB / 1.07 GB, free: 7.926 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches