Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 92.16 kB / 16.02 MB, free: 80 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.001077/0.001077, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 462.6 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8.812 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2946, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.00178/0.2964, allocations: 1.34 MB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007897/0.2972, allocations: 482.7 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.2973, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.2974, allocations: 11.92 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2976, allocations: 35.69 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2977, allocations: 31.95 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.2979, allocations: 135.4 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.298, allocations: 23.97 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2982, allocations: 63.72 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.2983, allocations: 51.77 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2983, allocations: 4 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.2983, allocations: 4 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.2984, allocations: 11.92 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.2985, allocations: 81.36 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2986, allocations: 76.08 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2986, allocations: 0 / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2986, allocations: 0 / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2986, allocations: 4 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00052/0.2991, allocations: 387.2 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2992, allocations: 11.97 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.2992, allocations: 16.75 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2995, allocations: 196.2 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2995, allocations: 384 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.2995, allocations: 16.38 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.2997, allocations: 73.92 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2997, allocations: 4 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2997, allocations: 4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2997, allocations: 3.938 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.2998, allocations: 35.98 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.3004, allocations: 491.2 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3007, allocations: 147.7 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.3008, allocations: 28.94 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.3008, allocations: 0 / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3009, allocations: 30.56 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3009, allocations: 4.031 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005434/0.3014, allocations: 207.4 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3014, allocations: 51.41 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3016, allocations: 155.7 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3016, allocations: 25.7 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3017, allocations: 115.9 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.3017, allocations: 19.8 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.3018, allocations: 9.719 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3019, allocations: 326.8 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.3019, allocations: 12.05 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.302, allocations: 38.45 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.302, allocations: 36.86 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3021, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002088/0.3023, allocations: 98.41 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3023, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3023, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.3025, allocations: 24.78 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/0.3025, allocations: 11.98 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.3036, allocations: 1.296 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3037, allocations: 15.81 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3038, allocations: 4 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.3039, allocations: 125.9 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.3039, allocations: 7.906 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.3039, allocations: 8.438 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3039, allocations: 7.984 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.304, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.304, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.3044, allocations: 355.3 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3044, allocations: 4 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.3045, allocations: 4 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.361e-05/0.3046, allocations: 24.83 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3046, allocations: 7.938 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009219/0.3055, allocations: 1.3 MB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3055, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.3057, allocations: 180.4 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3058, allocations: 101 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3058, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.3059, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.3059, allocations: 7.938 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3059, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001005/0.306, allocations: 122.1 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.306, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002707/0.3063, allocations: 32 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001005/0.3064, allocations: 99.25 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.3068, allocations: 154.8 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3068, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.307, allocations: 138.7 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3073, allocations: 41.36 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.3077, allocations: 261.7 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.308, allocations: 0.6931 MB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.308, allocations: 11.44 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.308, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.003359/0.3114, allocations: 1.837 MB / 1.071 GB, free: 8.48 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & ./Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches