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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01074/0.01074, allocations: 101.1 kB / 15.73 MB, free: 6.004 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.002031/0.002031, allocations: 187 kB / 16.67 MB, free: 5.922 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437 MB / 0.7105 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 1.018 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9502, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002739/0.953, allocations: 1.644 MB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.9538, allocations: 474.8 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.9539, allocations: 4 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.9539, allocations: 11.86 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.9541, allocations: 43.62 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.9543, allocations: 33.45 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.9545, allocations: 147.3 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.9546, allocations: 23.98 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.9547, allocations: 67.72 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.9549, allocations: 59.75 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.9549, allocations: 8 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.9549, allocations: 8 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.955, allocations: 15.92 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.955, allocations: 55.73 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.9552, allocations: 108.1 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9552, allocations: 0 / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9552, allocations: 4 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.9552, allocations: 4 kB / 1.169 GB, free: 1.195 MB / 0.8887 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.0005513/0.9558, allocations: 403 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9558, allocations: 8.031 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.9559, allocations: 12.89 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.9562, allocations: 202.9 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.9562, allocations: 12.31 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.9562, allocations: 4.375 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.9563, allocations: 81.92 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.9564, allocations: 0 / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.9564, allocations: 0 / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.9564, allocations: 0 / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.9565, allocations: 39.98 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.9571, allocations: 491.2 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.9575, allocations: 155.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.9576, allocations: 24.94 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/0.9576, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.9576, allocations: 30.56 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9576, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0005295/0.9581, allocations: 203.5 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.9582, allocations: 51.41 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.9583, allocations: 167.3 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.9584, allocations: 33.7 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.9584, allocations: 104 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.9585, allocations: 11.89 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.9585, allocations: 21.72 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9586, allocations: 322.8 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.9587, allocations: 12 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.9587, allocations: 42.5 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.769e-05/0.9588, allocations: 32.86 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9588, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001984/0.959, allocations: 98.42 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.959, allocations: 4 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.959, allocations: 4.031 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.9592, allocations: 28.78 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/0.9593, allocations: 8.172 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.9604, allocations: 1.406 MB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.9605, allocations: 11.89 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.9605, allocations: 4 kB / 1.173 GB, free: 12.77 MB / 0.9044 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 9.108e-05/0.9606, allocations: 117.9 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.9607, allocations: 7.953 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.9607, allocations: 16.23 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.9607, allocations: 3.938 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.9607, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9607, allocations: 3.938 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.9611, allocations: 355.6 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9611, allocations: 3.984 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.9612, allocations: 11.98 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-05/0.9613, allocations: 24.84 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.9613, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.9623, allocations: 1.395 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9623, allocations: 0 / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.9626, allocations: 188.4 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.9626, allocations: 85.06 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.9627, allocations: 0 / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.9628, allocations: 23.7 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.9628, allocations: 7.984 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.9628, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.9629, allocations: 125.5 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9629, allocations: 0 / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002678/0.9632, allocations: 28 kB / 1.175 GB, free: 10.14 MB / 0.9044 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.0001163/0.9633, allocations: 103.2 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.9636, allocations: 150.7 kB / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9636, allocations: 0 / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.9638, allocations: 142.6 kB / 1.176 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.9642, allocations: 23.98 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.9646, allocations: 207.4 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.9649, allocations: 0.7006 MB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.9649, allocations: 13 kB / 1.177 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.965, allocations: 11.44 kB / 1.177 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.965, allocations: 0 / 1.177 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of Templates: time 0.004391/0.9694, allocations: 1.742 MB / 1.178 GB, free: 6.992 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches