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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 100.1 kB / 15.88 MB, free: 12 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.001852/0.001852, allocations: 200.9 kB / 16.79 MB, free: 6.828 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.89 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6071, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003085/0.6103, allocations: 1.697 MB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.6111, allocations: 478.8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.6112, allocations: 7.938 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.6113, allocations: 7.922 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.6114, allocations: 35.75 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.6116, allocations: 39.89 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.6118, allocations: 135.4 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.6119, allocations: 23.98 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.6121, allocations: 59.72 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.3e-05/0.6122, allocations: 55.75 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.6122, allocations: 4 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.6122, allocations: 8 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.6123, allocations: 15.92 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.6123, allocations: 51.67 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.6124, allocations: 81.78 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6125, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6125, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6125, allocations: 4 kB / 1.02 GB, free: 80 kB / 0.7637 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.0005919/0.6131, allocations: 395.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6131, allocations: 12.02 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.6132, allocations: 16.84 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.6134, allocations: 196.1 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.6134, allocations: 8.375 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6134, allocations: 4.375 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.6136, allocations: 77.92 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6136, allocations: 7.938 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6136, allocations: 3.984 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6136, allocations: 4 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.6137, allocations: 31.98 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.6144, allocations: 487.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.6147, allocations: 151.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.6148, allocations: 28.94 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.6148, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6148, allocations: 34.56 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6149, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005526/0.6154, allocations: 199.4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6155, allocations: 55.41 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.6156, allocations: 164.1 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.6156, allocations: 25.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.6157, allocations: 108 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.6157, allocations: 15.75 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.6158, allocations: 25.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6159, allocations: 318.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.6159, allocations: 15.98 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-05/0.616, allocations: 30.58 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.6161, allocations: 48.91 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6161, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002096/0.6163, allocations: 98.41 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.6163, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6163, allocations: 3.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.6165, allocations: 24.84 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.6165, allocations: 7.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.6176, allocations: 1.304 MB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.6178, allocations: 7.984 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6178, allocations: 4.031 kB / 1.024 GB, free: 11.78 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 0.0001013/0.6179, allocations: 126.4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.6179, allocations: 11.81 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.618, allocations: 12.48 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.618, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.618, allocations: 3.984 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.618, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.6184, allocations: 363.3 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6184, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.6185, allocations: 7.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.406e-05/0.6186, allocations: 24.84 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6186, allocations: 8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009862/0.6196, allocations: 1.3 MB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6196, allocations: 3.938 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.6198, allocations: 184.2 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.6199, allocations: 85.02 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.6199, allocations: 12.08 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.62, allocations: 0 / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.62, allocations: 4 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.62, allocations: 0 / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.6201, allocations: 121.3 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6202, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002673/0.6204, allocations: 32 kB / 1.026 GB, free: 9.254 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 8.683e-05/0.6205, allocations: 103.2 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.6208, allocations: 150.7 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6209, allocations: 0 / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.6211, allocations: 134.7 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.6214, allocations: 35.92 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.6219, allocations: 262.3 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.6222, allocations: 0.6931 MB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.6222, allocations: 11.44 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6222, allocations: 4 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.003557/0.6258, allocations: 1.844 MB / 1.029 GB, free: 5.953 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (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 & ./Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/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