Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008107/0.0008111, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007672/0.007672, allocations: 176.1 kB / 16.27 MB, free: 6.613 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 11.98 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7027/0.703, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.001516/0.7046, allocations: 1.344 MB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006431/0.7052, allocations: 471 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.7053, allocations: 1.844 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.7053, allocations: 8.797 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.7055, allocations: 44.84 kB / 0.9568 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.7056, allocations: 16.98 kB / 0.9569 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.7058, allocations: 140.6 kB / 0.957 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.7059, allocations: 27.39 kB / 0.957 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.7061, allocations: 57.48 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.7062, allocations: 54.8 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.7062, allocations: 4.5 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.7062, allocations: 3.562 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.7062, allocations: 10.09 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.7063, allocations: 72.11 kB / 0.9572 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.7064, allocations: 109.6 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7064, allocations: 0 / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7064, allocations: 0 / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7065, allocations: 0 / 0.9573 GB, free: 5.863 MB / 0.7169 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.0004309/0.7069, allocations: 382.8 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7069, allocations: 13.8 kB / 0.9577 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.707, allocations: 14.12 kB / 0.9577 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.7072, allocations: 204.6 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7072, allocations: 11.62 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.7072, allocations: 5.75 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.7074, allocations: 76.33 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7074, allocations: 0 / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7074, allocations: 4 kB / 0.958 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.7074, allocations: 2.562 kB / 0.958 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.7075, allocations: 30.23 kB / 0.958 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.708, allocations: 489.2 kB / 0.9585 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.7083, allocations: 154.3 kB / 0.9586 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.7084, allocations: 28.62 kB / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.7084, allocations: 4.031 kB / 0.9587 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.7084, allocations: 40.41 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.7084, allocations: 0 / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005344/0.709, allocations: 193.3 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.709, allocations: 55.34 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7091, allocations: 166 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.7091, allocations: 26.77 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.7092, allocations: 109.9 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.7092, allocations: 17.28 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.7092, allocations: 15.33 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.7093, allocations: 317.8 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.7093, allocations: 13.89 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.7094, allocations: 32.77 kB / 0.9596 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.7094, allocations: 40.28 kB / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7095, allocations: 0 / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001867/0.7096, allocations: 98.91 kB / 0.9597 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7097, allocations: 9.312 kB / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7097, allocations: 0 / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.7099, allocations: 23.59 kB / 0.9598 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.015e-05/0.7099, allocations: 5.562 kB / 0.9598 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008155/0.7107, allocations: 1.31 MB / 0.9611 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.7109, allocations: 8.281 kB / 0.9611 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.7109, allocations: 5.359 kB / 0.9611 GB, free: 2.051 MB / 0.7169 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 7.093e-05/0.711, allocations: 117.9 kB / 0.9612 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.711, allocations: 11.94 kB / 0.9612 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.711, allocations: 15 kB / 0.9612 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.711, allocations: 1.375 kB / 0.9612 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.711, allocations: 0 / 0.9612 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7111, allocations: 1.375 kB / 0.9612 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.7114, allocations: 371.1 kB / 0.9616 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7114, allocations: 1.375 kB / 0.9616 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.7115, allocations: 2.75 kB / 0.9616 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.802e-05/0.7115, allocations: 22.47 kB / 0.9616 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.7116, allocations: 3.938 kB / 0.9616 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000691/0.7123, allocations: 1.306 MB / 0.9629 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7123, allocations: 0 / 0.9629 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.7125, allocations: 191.8 kB / 0.9631 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.7126, allocations: 91.61 kB / 0.9631 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7126, allocations: 4 kB / 0.9631 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.7127, allocations: 5.359 kB / 0.9632 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.7127, allocations: 2.75 kB / 0.9632 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.7128, allocations: 0 / 0.9632 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001256/0.7129, allocations: 124.8 kB / 0.9633 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7129, allocations: 4 kB / 0.9633 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000283/0.7132, allocations: 28.72 kB / 0.9633 GB, free: 15.75 MB / 0.7325 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.0001158/0.7133, allocations: 98.88 kB / 0.9634 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.7137, allocations: 155.5 kB / 0.9635 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7137, allocations: 0 / 0.9635 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.7139, allocations: 133.3 kB / 0.9637 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.7143, allocations: 37.38 kB / 0.9637 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.7147, allocations: 234.1 kB / 0.9639 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.715, allocations: 0.697 MB / 0.9646 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.7151, allocations: 9.734 kB / 0.9646 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.7151, allocations: 11.84 kB / 0.9646 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7151, allocations: 0.9688 kB / 0.9646 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.004503/0.7196, allocations: 1.63 MB / 0.9662 GB, free: 13.66 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & ./Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches