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.0015/0.0015, allocations: 108 kB / 15.6 MB, free: 132 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.001697/0.001697, allocations: 196.7 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 70.12 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.002758/0.2609, allocations: 1.713 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00071/0.2616, allocations: 466.9 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.2617, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.2618, allocations: 7.875 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2619, allocations: 35.7 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2621, allocations: 35.89 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.2622, allocations: 115.5 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2623, allocations: 23.98 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2624, allocations: 55.72 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.2625, allocations: 59.77 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.2626, allocations: 4 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.132e-05/0.2626, allocations: 8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2626, allocations: 23.91 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.2627, allocations: 43.73 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2628, allocations: 91.92 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2628, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2628, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2628, allocations: 0 / 1.066 GB, free: 11.88 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005417/0.2634, allocations: 415 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2634, allocations: 8.031 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.2635, allocations: 38.75 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.2635, allocations: 8.844 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2637, allocations: 194.3 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2637, allocations: 8.375 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2637, allocations: 4.375 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2639, allocations: 81.66 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2639, allocations: 8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.264, allocations: 4 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.264, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.2642, allocations: 59.89 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.2647, allocations: 364.4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.2651, allocations: 86.56 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2652, allocations: 37.02 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2653, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2653, allocations: 34.56 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.2653, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003927/0.2657, allocations: 121.5 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.2657, allocations: 51.41 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2659, allocations: 156.9 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2659, allocations: 25.7 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.2659, allocations: 108 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.266, allocations: 23.66 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.266, allocations: 21.7 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.2661, allocations: 322.8 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2662, allocations: 23.97 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2663, allocations: 54.78 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.2665, allocations: 73.77 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2665, allocations: 3.938 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.2668, allocations: 97.56 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2668, allocations: 4 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2668, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2668, allocations: 8.031 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.267, allocations: 35.91 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/0.2678, allocations: 1.365 MB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.268, allocations: 19.95 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.268, allocations: 0 / 1.07 GB, free: 7.684 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 (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 8.15e-05/0.2681, allocations: 115.7 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.2681, allocations: 19.84 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.2681, allocations: 12.7 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2681, allocations: 0 / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.2682, allocations: 4 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2682, allocations: 0 / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.2683, allocations: 189.6 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2683, allocations: 3.938 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.2685, allocations: 27.97 kB / 1.07 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2685, allocations: 0 / 1.07 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2686, allocations: 12.06 kB / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006741/0.2692, allocations: 1.369 MB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2692, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.2695, allocations: 191.4 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.2696, allocations: 96.84 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2696, allocations: 15.94 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2697, allocations: 4 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2698, allocations: 7.922 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2698, allocations: 4 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.695e-05/0.2699, allocations: 117.9 kB / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2699, allocations: 0 / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002605/0.2701, allocations: 24 kB / 1.072 GB, free: 5.258 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.0005201/0.2707, allocations: 0.7168 MB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.271, allocations: 83.84 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.271, allocations: 0 / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2711, allocations: 43.97 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2715, allocations: 33.86 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.2733, allocations: 1.599 MB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2735, allocations: 0.7 MB / 1.075 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.243e-05/0.2736, allocations: 12.56 kB / 1.075 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.2737, allocations: 27.42 kB / 1.075 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2737, allocations: 0 / 1.075 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2913, allocations: 3.036 MB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.589, allocations: 15.73 kB / 1.078 GB, free: 14.98 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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