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.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.0007663/0.0007663, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001862, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006972/0.0006972, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002168, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9112/0.9112, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08527/0.9964, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.372/2.372, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3565/2.729, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.718e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003502/0.003539, allocations: 1.744 MB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.00444, allocations: 0.4946 MB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.004517, allocations: 4 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.092e-05/0.004578, allocations: 15.86 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.004696, allocations: 43.62 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.004872, allocations: 27.89 kB / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.005066, allocations: 155.2 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.005248, allocations: 31.98 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.005597, allocations: 111.6 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.005729, allocations: 43.83 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.005759, allocations: 8 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.005783, allocations: 8 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.005814, allocations: 15.94 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.005867, allocations: 35.94 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.00605, allocations: 63.75 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.006068, allocations: 4 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006069, allocations: 4 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.006091, allocations: 0 / 0.8216 GB, free: 15.7 MB / 0.8073 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.0006453/0.006736, allocations: 328.1 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.006787, allocations: 12.03 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.006846, allocations: 8.938 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.00708, allocations: 134.8 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.007097, allocations: 8.375 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.007118, allocations: 4.375 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.007249, allocations: 61.11 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.007261, allocations: 4.188 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.007272, allocations: 384 / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.007281, allocations: 3.938 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.705e-05/0.007318, allocations: 15.98 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.007807, allocations: 232 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.008058, allocations: 66.67 kB / 0.8225 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.008086, allocations: 12.86 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.008096, allocations: 4 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.008127, allocations: 34.5 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.008129, allocations: 0 / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0003865/0.008515, allocations: 90.58 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.008551, allocations: 55.41 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.008685, allocations: 149.2 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.008701, allocations: 25.7 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.008768, allocations: 104 kB / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.008785, allocations: 23.78 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.008829, allocations: 25.7 kB / 0.823 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.008952, allocations: 326.8 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.008969, allocations: 11.92 kB / 0.8233 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.009035, allocations: 73.98 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.009075, allocations: 24.97 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.009078, allocations: 0 / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000149/0.009227, allocations: 78.48 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.009241, allocations: 4 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.009247, allocations: 0 / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.009408, allocations: 16.84 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.009457, allocations: 8 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009556/0.01041, allocations: 1.182 MB / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.01048, allocations: 7.953 kB / 0.8246 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.01048, allocations: 4 kB / 0.8247 GB, free: 12.33 MB / 0.8073 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.415e-05/0.01057, allocations: 105.8 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.01059, allocations: 11.92 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.01062, allocations: 12.34 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.01062, allocations: 4.094 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01062, allocations: 0 / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01062, allocations: 0 / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.01094, allocations: 231.5 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01094, allocations: 0 / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.01096, allocations: 4 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.01097, allocations: 11.89 kB / 0.825 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.899e-05/0.01106, allocations: 20.83 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01107, allocations: 8 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007812/0.01185, allocations: 1.174 MB / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01185, allocations: 3.938 kB / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.01201, allocations: 164.3 kB / 0.8263 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.01202, allocations: 4 kB / 0.8264 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.01209, allocations: 12.02 kB / 0.8264 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.01211, allocations: 7.984 kB / 0.8264 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.01211, allocations: 0 / 0.8264 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.01215, allocations: 27.25 kB / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01215, allocations: 0 / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000238/0.01239, allocations: 32 kB / 0.8264 GB, free: 10.36 MB / 0.8073 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.0001062/0.01249, allocations: 76.42 kB / 0.8265 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.01277, allocations: 159.3 kB / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.01278, allocations: 0 / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.01291, allocations: 139.5 kB / 0.8268 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.01325, allocations: 233.6 kB / 0.827 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.01511, allocations: 214.5 kB / 0.8272 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.01515, allocations: 63.34 kB / 0.8273 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.01519, allocations: 4.484 kB / 0.8273 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.01529, allocations: 71.36 kB / 0.8273 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of SimCode: time 1.563e-06/0.01529, allocations: 4 kB / 0.8274 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of Templates: time 0.004118/0.01941, allocations: 1.919 MB / 0.8292 GB, free: 7.391 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.342511056922376]