Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001401/0.001402, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001417/0.001417, allocations: 187.5 kB / 16.9 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.414/1.414, 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 11.0.1-master/package.mo): time 2.72/2.72, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 70.39 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3233, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002174/0.3255, allocations: 0.8688 MB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.3257, allocations: 43.78 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.3257, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.3258, allocations: 3.938 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.3259, allocations: 11.92 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.879e-05/0.326, allocations: 16 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3261, allocations: 63.84 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.3262, allocations: 39.95 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.3263, allocations: 31.8 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.3263, allocations: 27.8 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.3264, allocations: 12 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.3264, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3264, allocations: 15.97 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.3265, allocations: 35.75 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.608e-05/0.3266, allocations: 48.19 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3266, allocations: 4 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3266, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3266, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8419 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.0004347/0.327, allocations: 379.2 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3271, allocations: 12.62 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3271, allocations: 12.75 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.3273, allocations: 200.1 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.3273, allocations: 4.375 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3274, allocations: 8.375 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3275, allocations: 97.77 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.3276, allocations: 192 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3276, allocations: 3.938 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3276, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.3277, allocations: 39.98 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.3282, allocations: 432.5 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.3283, allocations: 41.2 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.3283, allocations: 21.78 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3283, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3284, allocations: 34.59 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3284, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.3286, allocations: 53.48 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3286, allocations: 89.28 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3288, allocations: 160.1 kB / 1.066 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.3288, allocations: 25.7 kB / 1.066 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.3289, allocations: 111.9 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.3289, allocations: 7.906 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.329, allocations: 17.7 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3291, allocations: 314.8 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.3291, allocations: 11.98 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.3292, allocations: 17.72 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.3292, allocations: 33.66 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3292, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.273e-05/0.3293, allocations: 53.59 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3293, allocations: 4 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3293, allocations: 7.938 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3293, allocations: 4.062 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.3294, allocations: 7.938 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3294, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.3295, allocations: 11.94 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3295, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 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.603e-05/0.3296, allocations: 113.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.3296, allocations: 15.88 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.3296, allocations: 15.81 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3297, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3297, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3297, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.3301, allocations: 470.8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3301, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.3301, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3301, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3301, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3301, allocations: 8.047 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3301, allocations: 3.984 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.126e-05/0.3302, allocations: 77.78 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.3303, allocations: 93 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3303, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.3303, allocations: 7.938 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3304, allocations: 8.031 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3304, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.3305, allocations: 121.9 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3305, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001938/0.3307, allocations: 8 kB / 1.068 GB, free: 10.66 MB / 0.8419 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.0001164/0.3308, allocations: 95.25 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.3309, allocations: 23.92 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3309, allocations: 128 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.3309, allocations: 12 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.3311, allocations: 17.59 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3315, allocations: 204.7 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3318, allocations: 0.6963 MB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.3318, allocations: 11.44 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3318, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.002338/0.3341, allocations: 0.8538 MB / 1.07 GB, free: 8.68 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches