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.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.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.008638/0.008638, allocations: 95.91 kB / 15.73 MB, free: 6.047 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.001898/0.001898, allocations: 198.8 kB / 16.68 MB, free: 5.957 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.83 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9178, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003413/0.9212, allocations: 1.62 MB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.9223, allocations: 482.8 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.9224, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.9225, allocations: 11.86 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.9228, allocations: 51.62 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.923, allocations: 27.95 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.9232, allocations: 147.3 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.9234, allocations: 35.97 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.9236, allocations: 67.72 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.9237, allocations: 51.77 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.9238, allocations: 8 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.9238, allocations: 11.94 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.9238, allocations: 23.91 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.9239, allocations: 51.73 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.9241, allocations: 101.9 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9241, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9241, allocations: 4 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.9241, allocations: 3.984 kB / 1.21 GB, free: 10.87 MB / 0.9356 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.0006313/0.9248, allocations: 399.1 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.9248, allocations: 12.03 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.9249, allocations: 34.75 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.925, allocations: 20.69 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.9253, allocations: 204.1 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.9253, allocations: 8.375 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.9254, allocations: 4.375 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.9255, allocations: 73.8 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9256, allocations: 0 / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.9256, allocations: 4 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9256, allocations: 0 / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.9257, allocations: 35.92 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.9265, allocations: 487.3 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.9269, allocations: 155.7 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.927, allocations: 20.86 kB / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.927, allocations: 0 / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.9271, allocations: 34.56 kB / 1.211 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9271, allocations: 4.031 kB / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0005988/0.9277, allocations: 199.5 kB / 1.211 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.9277, allocations: 55.41 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.9279, allocations: 164.6 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.9279, allocations: 25.7 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.928, allocations: 108 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.9281, allocations: 19.75 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.9281, allocations: 21.72 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9283, allocations: 322.8 kB / 1.212 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.9283, allocations: 8 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.9284, allocations: 38.56 kB / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.9284, allocations: 32.86 kB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9284, allocations: 0 / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002226/0.9287, allocations: 110.5 kB / 1.212 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9287, allocations: 4 kB / 1.212 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9287, allocations: 3.938 kB / 1.212 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.9289, allocations: 24.84 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.9289, allocations: 4 kB / 1.212 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.9302, allocations: 1.402 MB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.9303, allocations: 8.094 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.9303, allocations: 7.984 kB / 1.214 GB, free: 6.41 MB / 0.9356 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.000103/0.9304, allocations: 113.8 kB / 1.214 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.9305, allocations: 11.84 kB / 1.214 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.9305, allocations: 16.25 kB / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.9305, allocations: 0 / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9305, allocations: 3.938 kB / 1.214 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9305, allocations: 0 / 1.214 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.9309, allocations: 367.2 kB / 1.214 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.931, allocations: 4 kB / 1.214 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.931, allocations: 0 / 1.214 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-05/0.9311, allocations: 24.84 kB / 1.214 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.9311, allocations: 0 / 1.214 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.9322, allocations: 1.398 MB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9322, allocations: 3.938 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.9324, allocations: 188.5 kB / 1.216 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.9325, allocations: 85.02 kB / 1.216 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.9325, allocations: 11.92 kB / 1.216 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.9326, allocations: 0 / 1.216 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.9326, allocations: 4 kB / 1.216 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.9327, allocations: 0 / 1.216 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000111/0.9328, allocations: 121.1 kB / 1.216 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9328, allocations: 4 kB / 1.216 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002788/0.9331, allocations: 32 kB / 1.216 GB, free: 3.793 MB / 0.9356 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.0005687/0.9336, allocations: 0.7169 MB / 1.217 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.934, allocations: 154.7 kB / 1.217 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.934, allocations: 4 kB / 1.217 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.9342, allocations: 138.6 kB / 1.217 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.9345, allocations: 28.27 kB / 1.217 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.9362, allocations: 1.561 MB / 1.219 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.9365, allocations: 0.6967 MB / 1.219 GB, free: 344 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.9366, allocations: 12.88 kB / 1.219 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.9366, allocations: 23.44 kB / 1.219 GB, free: 304 kB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.9366, allocations: 0 / 1.219 GB, free: 304 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.9603, allocations: 3.215 MB / 1.222 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.952/10.91, allocations: 5.125 kB / 1.222 GB, free: 13.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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