Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.001451/0.001451, 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.00194/0.00194, allocations: 195.8 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.419/1.419, 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 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 59.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5848, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003158/0.588, allocations: 1.63 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.589, allocations: 486.8 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.5891, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.272e-05/0.5892, allocations: 7.875 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.5894, allocations: 55.61 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.5897, allocations: 25.09 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.5898, allocations: 139.3 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.59, allocations: 39.88 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.5902, allocations: 63.77 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.5903, allocations: 59.7 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.5903, allocations: 8.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.5904, allocations: 8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.5904, allocations: 15.88 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.5905, allocations: 51.73 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.5906, allocations: 109.9 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5906, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5907, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.5907, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 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.0005285/0.5912, allocations: 403.1 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5912, allocations: 8.031 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.5913, allocations: 38.69 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.5913, allocations: 12.84 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.5915, allocations: 204 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5916, allocations: 12.38 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5916, allocations: 4.375 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5917, allocations: 73.8 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5917, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5917, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5918, allocations: 7.984 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.5918, allocations: 43.86 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.5926, allocations: 487.3 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.593, allocations: 155.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.593, allocations: 20.86 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.593, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5931, allocations: 38.59 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.5931, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005718/0.5937, allocations: 199.5 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.5937, allocations: 55.41 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5939, allocations: 164.1 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5939, allocations: 29.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.594, allocations: 108 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.5941, allocations: 15.75 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.5941, allocations: 17.72 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5943, allocations: 322.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.5943, allocations: 12 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.116e-05/0.5943, allocations: 34.56 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.5944, allocations: 45.02 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5944, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002084/0.5946, allocations: 98.31 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5947, allocations: 7.984 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5947, allocations: 0 / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.5948, allocations: 24.84 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.5949, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.5961, allocations: 1.41 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.5962, allocations: 4.031 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5962, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 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 9.701e-05/0.5963, allocations: 118.4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.5964, allocations: 11.81 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.5964, allocations: 16.42 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5964, allocations: 8 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5964, allocations: 7.922 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5964, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.5968, allocations: 367.3 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5968, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.5969, allocations: 4 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.536e-05/0.597, allocations: 24.78 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.597, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.598, allocations: 1.395 MB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.598, allocations: 11.86 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.5983, allocations: 180.2 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.5983, allocations: 81.02 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.5984, allocations: 11.86 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.5985, allocations: 8.062 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.5985, allocations: 4 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.5985, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.496e-05/0.5986, allocations: 120.9 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5986, allocations: 0 / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002765/0.5989, allocations: 36 kB / 1.026 GB, free: 8.715 MB / 0.7794 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.0004904/0.5994, allocations: 0.717 MB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.5997, allocations: 154.6 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5997, allocations: 0 / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.5999, allocations: 134.8 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.6003, allocations: 31.97 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.6019, allocations: 1.564 MB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.6022, allocations: 0.7004 MB / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.849e-05/0.6023, allocations: 12.88 kB / 1.029 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.6024, allocations: 23.44 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of SimCode: time 2.284e-06/0.6024, allocations: 0 / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.632, allocations: 3.088 MB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/9.694, allocations: 9.953 kB / 1.033 GB, free: 2.25 MB / 0.7794 GB (rm -f Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches