Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00141/0.001409, allocations: 190.6 kB / 16.25 MB, free: 6.633 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.832/2.832, allocations: 469.8 MB / 0.742 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 68.58 kB / 0.908 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002249/0.3253, allocations: 0.8822 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.963e-05/0.3254, allocations: 43.78 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.3254, allocations: 0 / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.3255, allocations: 7.938 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.3256, allocations: 7.922 kB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.587e-05/0.3256, allocations: 16 kB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.3257, allocations: 59.84 kB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3259, allocations: 47.89 kB / 1.064 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.3259, allocations: 31.8 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.326, allocations: 27.86 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.326, allocations: 4 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.326, allocations: 8 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.326, allocations: 15.92 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.3261, allocations: 35.75 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.3262, allocations: 68.03 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3262, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3262, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3262, allocations: 4 kB / 1.065 GB, free: 13.36 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.0004445/0.3267, allocations: 379.2 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3267, allocations: 12.03 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3268, allocations: 12.75 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.327, allocations: 192.1 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.327, allocations: 4.375 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.327, allocations: 8.375 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.3272, allocations: 97.05 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3272, allocations: 192 / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3272, allocations: 7.875 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3272, allocations: 4 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.3273, allocations: 39.92 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.3279, allocations: 440.5 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.262e-05/0.328, allocations: 45.34 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.328, allocations: 13.78 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.328, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3281, allocations: 42.56 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3281, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.3283, allocations: 57.47 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3283, allocations: 77.11 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3285, allocations: 162.2 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3285, allocations: 29.64 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.3286, allocations: 104 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-06/0.3286, allocations: 8.156 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3287, allocations: 21.72 kB / 1.066 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3288, allocations: 318.8 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3288, allocations: 4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.3289, allocations: 17.72 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.3289, allocations: 21.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3289, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001051/0.329, allocations: 73.47 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3291, allocations: 5.562 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3291, allocations: 3.938 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3291, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.3291, allocations: 8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3292, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.3292, allocations: 11.84 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3292, allocations: 3.984 kB / 1.067 GB, free: 10.91 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 8.581e-05/0.3293, allocations: 121.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.3293, allocations: 7.906 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3294, allocations: 15.81 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.3294, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3294, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3294, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.3298, allocations: 470.7 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.3298, allocations: 8.141 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.3299, allocations: 4 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3299, allocations: 3.984 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.3299, allocations: 0 / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3299, allocations: 4 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3299, allocations: 0 / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.33, allocations: 81.84 kB / 1.067 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.3301, allocations: 89 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3301, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.3301, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.3301, allocations: 3.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3301, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001023/0.3302, allocations: 126.1 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3302, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001823/0.3304, allocations: 8 kB / 1.068 GB, free: 9.871 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.0001162/0.3305, allocations: 103.3 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.3306, allocations: 12 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3307, allocations: 4 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.3307, allocations: 7.938 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.3308, allocations: 9.203 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.3312, allocations: 187.1 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3315, allocations: 0.6924 MB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.3316, allocations: 8.422 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.3316, allocations: 15.44 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3316, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.002757/0.3344, allocations: 452.4 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches