Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.85/2.85, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.89 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9644, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002666/0.9671, allocations: 1.652 MB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.9679, allocations: 0.5101 MB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.968, allocations: 0 / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.9681, allocations: 11.25 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.9682, allocations: 48.2 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.9684, allocations: 34.89 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.9686, allocations: 141.7 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.9687, allocations: 23.45 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.969, allocations: 70.28 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.9691, allocations: 50.81 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.9691, allocations: 8.438 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.9691, allocations: 12.69 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.9691, allocations: 21.09 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.9692, allocations: 52.83 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.9694, allocations: 106.4 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.9694, allocations: 0 / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.006e-06/0.9694, allocations: 0 / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.9694, allocations: 0 / 1.324 GB, free: 22.93 MB / 1.061 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.0005642/0.97, allocations: 409.3 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.97, allocations: 14.27 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.877e-05/0.97, allocations: 8.125 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.9701, allocations: 37.34 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.9701, allocations: 14.11 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.9704, allocations: 201.3 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9704, allocations: 6.5 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.9704, allocations: 10.22 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.9705, allocations: 75.8 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9705, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.9706, allocations: 4 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9706, allocations: 11 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.9706, allocations: 32.92 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.9712, allocations: 486.4 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.9715, allocations: 156.6 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.9715, allocations: 21.11 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.9716, allocations: 0 / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.9716, allocations: 33.28 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.9716, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0005472/0.9721, allocations: 204.1 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.9721, allocations: 54.83 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.9723, allocations: 160.4 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.9723, allocations: 25.7 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.9723, allocations: 116.8 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.9723, allocations: 10.56 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.9724, allocations: 22.41 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.9724, allocations: 320.3 kB / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.9725, allocations: 17.66 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.342e-05/0.9725, allocations: 32.84 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.9725, allocations: 41.11 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9725, allocations: 0 / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001811/0.9727, allocations: 97.88 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.9727, allocations: 3.094 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9727, allocations: 2.625 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.9729, allocations: 25.22 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.973, allocations: 8.297 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008086/0.9738, allocations: 1.407 MB / 1.328 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.9739, allocations: 6.625 kB / 1.328 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.9739, allocations: 2.906 kB / 1.328 GB, free: 19.12 MB / 1.061 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 6.354e-05/0.974, allocations: 118.9 kB / 1.328 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.974, allocations: 14.62 kB / 1.328 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.974, allocations: 14.88 kB / 1.328 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.974, allocations: 3.156 kB / 1.328 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.974, allocations: 3.938 kB / 1.328 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.974, allocations: 3.422 kB / 1.328 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.9744, allocations: 352.6 kB / 1.329 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9744, allocations: 3.938 kB / 1.329 GB, free: 18.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.9744, allocations: 9.25 kB / 1.329 GB, free: 18.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.131e-05/0.9745, allocations: 23.95 kB / 1.329 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.9745, allocations: 2.906 kB / 1.329 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.9751, allocations: 1.4 MB / 1.33 GB, free: 17.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9752, allocations: 3.938 kB / 1.33 GB, free: 17.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.9753, allocations: 179 kB / 1.33 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.9754, allocations: 87.56 kB / 1.33 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.9754, allocations: 8.031 kB / 1.33 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.9755, allocations: 3 kB / 1.33 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.9755, allocations: 6.375 kB / 1.33 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.9755, allocations: 2.656 kB / 1.33 GB, free: 16.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.9755, allocations: 121.5 kB / 1.33 GB, free: 16.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9755, allocations: 7.875 kB / 1.33 GB, free: 16.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002538/0.9758, allocations: 29.91 kB / 1.33 GB, free: 16.82 MB / 1.061 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.0003394/0.9761, allocations: 0.7153 MB / 1.331 GB, free: 16.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.9765, allocations: 154.5 kB / 1.331 GB, free: 16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9765, allocations: 0 / 1.331 GB, free: 16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.9767, allocations: 138.1 kB / 1.331 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.977, allocations: 34.34 kB / 1.331 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.9785, allocations: 1.571 MB / 1.333 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.9786, allocations: 0.6944 MB / 1.334 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.9787, allocations: 5.984 kB / 1.334 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.9787, allocations: 27.52 kB / 1.334 GB, free: 13.81 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9787, allocations: 4 kB / 1.334 GB, free: 13.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/1.004, allocations: 3.212 MB / 1.337 GB, free: 13.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.938/10.94, allocations: 3.312 kB / 1.337 GB, free: 13.29 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.187693059036974]