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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_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.004293/0.004293, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.0009737/0.0009737, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.596/2.596, allocations: 469.4 MB / 0.7422 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.702, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002802/0.7048, allocations: 1.628 MB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.7057, allocations: 474.8 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.7058, allocations: 0 / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.7059, allocations: 11.86 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.706, allocations: 51.62 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.7062, allocations: 35.02 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.7064, allocations: 135.4 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.7066, allocations: 35.97 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.7068, allocations: 71.7 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.7069, allocations: 51.77 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.7069, allocations: 8 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.7069, allocations: 8 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.707, allocations: 19.92 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.7071, allocations: 59.67 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.7072, allocations: 107.3 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7072, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7072, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.7072, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9512 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.0005552/0.7078, allocations: 405.6 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7079, allocations: 12.62 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.7079, allocations: 34.75 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.708, allocations: 20.78 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.7082, allocations: 208.2 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.7082, allocations: 4.375 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.7083, allocations: 8.375 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.7084, allocations: 74.72 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7084, allocations: 0 / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7084, allocations: 3.984 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7085, allocations: 4 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.7085, allocations: 31.98 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.7092, allocations: 487.3 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.7095, allocations: 151.7 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.7096, allocations: 28.94 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.7096, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.7096, allocations: 38.53 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.7096, allocations: 3.938 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0005663/0.7102, allocations: 195.5 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.7102, allocations: 55.41 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.7104, allocations: 158.2 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7104, allocations: 29.7 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.7105, allocations: 108 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.7105, allocations: 15.91 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.7106, allocations: 21.7 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.7107, allocations: 318.8 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.7107, allocations: 15.92 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.7107, allocations: 38.58 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.238e-05/0.7108, allocations: 40.88 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.7108, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002205/0.7111, allocations: 102.4 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7111, allocations: 4 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.7111, allocations: 0 / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.7113, allocations: 20.84 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.7113, allocations: 8 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.7124, allocations: 1.41 MB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.7126, allocations: 11.98 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.7126, allocations: 0 / 1.226 GB, free: 11.12 MB / 0.9512 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 8.761e-05/0.7127, allocations: 114.4 kB / 1.226 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.7127, allocations: 11.89 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.7127, allocations: 16.47 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7127, allocations: 3.984 kB / 1.226 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7128, allocations: 3.938 kB / 1.226 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7128, allocations: 4.062 kB / 1.226 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.7133, allocations: 363.5 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7133, allocations: 4 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.7133, allocations: 7.984 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.7134, allocations: 20.84 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.7134, allocations: 0 / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.7147, allocations: 1.403 MB / 1.228 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7147, allocations: 12.03 kB / 1.228 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.7149, allocations: 176.3 kB / 1.228 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.715, allocations: 93 kB / 1.228 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.715, allocations: 3.938 kB / 1.228 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.7151, allocations: 0 / 1.228 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.7151, allocations: 4 kB / 1.228 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7152, allocations: 7.984 kB / 1.228 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.612e-05/0.7153, allocations: 120.9 kB / 1.229 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7153, allocations: 0 / 1.229 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002892/0.7156, allocations: 31.94 kB / 1.229 GB, free: 8.492 MB / 0.9512 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.0005631/0.7161, allocations: 0.7171 MB / 1.229 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.7165, allocations: 154.7 kB / 1.229 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7165, allocations: 0 / 1.229 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.7167, allocations: 134.8 kB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.7171, allocations: 32.11 kB / 1.23 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.7189, allocations: 1.572 MB / 1.231 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.7192, allocations: 0.6928 MB / 1.232 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.7193, allocations: 12.88 kB / 1.232 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.7194, allocations: 23.44 kB / 1.232 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.7194, allocations: 0 / 1.232 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.755, allocations: 3.156 MB / 1.235 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.76/10.51, allocations: 11.86 kB / 1.235 GB, free: 1.969 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv","/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