Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 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.001258/0.001258, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.367/2.367, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.12 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.003454/0.2755, allocations: 1.707 MB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.2764, allocations: 471.2 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.2765, allocations: 8 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.121e-05/0.2766, allocations: 11.86 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2768, allocations: 31.7 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.277, allocations: 27.91 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.2772, allocations: 123.5 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2773, allocations: 23.97 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.2776, allocations: 51.8 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2777, allocations: 51.77 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.2778, allocations: 8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.589e-05/0.2778, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.2778, allocations: 27.86 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.2779, allocations: 47.73 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2781, allocations: 87.97 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2781, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2781, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2781, allocations: 0 / 1.055 GB, free: 5.59 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006138/0.2788, allocations: 407.1 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2788, allocations: 12.62 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.2789, allocations: 34.75 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.2789, allocations: 20.69 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2792, allocations: 200.1 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2792, allocations: 8.312 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2792, allocations: 8.375 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.2794, allocations: 77.78 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2794, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2795, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2795, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.2797, allocations: 59.95 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.2803, allocations: 364.5 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.2807, allocations: 90.56 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2809, allocations: 41.02 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.2809, allocations: 0 / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2809, allocations: 30.56 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2809, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003825/0.2813, allocations: 125.5 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2813, allocations: 51.41 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2815, allocations: 154.5 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2815, allocations: 29.7 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2816, allocations: 104 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.2816, allocations: 15.73 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.2816, allocations: 25.83 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2818, allocations: 330.7 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2819, allocations: 27.97 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.282, allocations: 42.56 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2822, allocations: 73.64 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2822, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002529/0.2825, allocations: 101.5 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2825, allocations: 11.94 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2825, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2825, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2827, allocations: 23.98 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008854/0.2836, allocations: 1.381 MB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.2837, allocations: 12.23 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2838, allocations: 4 kB / 1.059 GB, free: 1.391 MB / 0.8106 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.2839, allocations: 117.8 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.2839, allocations: 11.84 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.2839, allocations: 12.72 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2839, allocations: 8.062 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2839, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2839, allocations: 3.984 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.2841, allocations: 189.6 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2842, allocations: 7.875 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.2843, allocations: 23.98 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2843, allocations: 4 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2843, allocations: 0 / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007746/0.2851, allocations: 1.374 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2851, allocations: 3.984 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2854, allocations: 195.3 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.2855, allocations: 88.95 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2855, allocations: 0 / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2856, allocations: 15.89 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.2857, allocations: 15.98 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.2857, allocations: 0 / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.2857, allocations: 114.1 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2858, allocations: 0 / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002471/0.286, allocations: 24 kB / 1.061 GB, free: 14.97 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005381/0.2865, allocations: 0.728 MB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.2869, allocations: 71.89 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2869, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.287, allocations: 43.91 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.2874, allocations: 33 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.2892, allocations: 1.593 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2895, allocations: 0.7 MB / 1.064 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.545e-05/0.2896, allocations: 16.53 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2896, allocations: 31.42 kB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2896, allocations: 4 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2565/0.5461, allocations: 3.036 MB / 1.067 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/8.122, allocations: 8.156 kB / 1.067 GB, free: 8.688 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches