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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006061/0.006061, allocations: 102.5 kB / 15.73 MB, free: 5.961 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.001146/0.001146, allocations: 190 kB / 16.67 MB, free: 5.883 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.00255/0.3448, allocations: 1.622 MB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.3455, allocations: 479.2 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.3456, allocations: 4 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.3456, allocations: 7.875 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.3458, allocations: 47.61 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.346, allocations: 27.97 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3462, allocations: 143.3 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3463, allocations: 43.89 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3464, allocations: 59.78 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3466, allocations: 55.7 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.3466, allocations: 8 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.3466, allocations: 8 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.3466, allocations: 19.92 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.3467, allocations: 55.72 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.3468, allocations: 99.69 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3469, allocations: 4 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3469, allocations: 4 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3469, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.9669 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.0005212/0.3474, allocations: 406.9 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3474, allocations: 8.031 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3475, allocations: 12.84 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3477, allocations: 204.1 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3477, allocations: 8.375 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3478, allocations: 12.36 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3479, allocations: 77.98 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3479, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3479, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3479, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.348, allocations: 43.92 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.3486, allocations: 487.3 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3489, allocations: 151.7 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.349, allocations: 20.95 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.349, allocations: 7.984 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.349, allocations: 30.56 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.349, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0005299/0.3496, allocations: 207.3 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3496, allocations: 51.41 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3497, allocations: 162.2 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3498, allocations: 29.7 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.3498, allocations: 108 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.3499, allocations: 11.8 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3499, allocations: 29.7 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.35, allocations: 314.8 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.35, allocations: 15.98 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.843e-05/0.3501, allocations: 34.58 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.3502, allocations: 40.84 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3502, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001928/0.3504, allocations: 102.3 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3504, allocations: 4 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3504, allocations: 3.938 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.3506, allocations: 24.84 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.3506, allocations: 4 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.3516, allocations: 1.407 MB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3518, allocations: 8.062 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3518, allocations: 12.09 kB / 1.214 GB, free: 2.52 MB / 0.9669 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.908e-05/0.3519, allocations: 117.8 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3519, allocations: 11.91 kB / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.3519, allocations: 12.25 kB / 1.214 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3519, allocations: 3.984 kB / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3519, allocations: 0 / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3519, allocations: 3.938 kB / 1.214 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.3523, allocations: 359.3 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3524, allocations: 3.938 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.3524, allocations: 4 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.925e-05/0.3525, allocations: 28.83 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3525, allocations: 0 / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009548/0.3534, allocations: 1.391 MB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3535, allocations: 0 / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3537, allocations: 188.4 kB / 1.216 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3537, allocations: 89 kB / 1.216 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3538, allocations: 0 / 1.216 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.3538, allocations: 3.938 kB / 1.216 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.3539, allocations: 8 kB / 1.216 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3539, allocations: 0 / 1.216 GB, free: 60 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.768e-05/0.354, allocations: 121.9 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.354, allocations: 0 / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000262/0.3542, allocations: 39.91 kB / 1.217 GB, free: 15.9 MB / 0.9825 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.0001065/0.3544, allocations: 99.23 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.3547, allocations: 154.8 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3547, allocations: 0 / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.3549, allocations: 142.7 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3552, allocations: 30.5 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.3556, allocations: 207.4 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3558, allocations: 0.7044 MB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.3559, allocations: 4.891 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.3559, allocations: 11.44 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3559, allocations: 0 / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.004055/0.36, allocations: 1.734 MB / 1.22 GB, free: 12.77 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches