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.0007641/0.0007641, 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.004734/0.004734, allocations: 169.9 kB / 16.26 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.352 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: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 6.75 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3563, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002098/0.3585, allocations: 1.344 MB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009037/0.3594, allocations: 478.7 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3595, allocations: 3.938 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.3596, allocations: 7.922 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.3598, allocations: 43.75 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.36, allocations: 27.91 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3602, allocations: 127.4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3604, allocations: 35.95 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3606, allocations: 59.72 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.3607, allocations: 51.75 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3607, allocations: 4 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.3608, allocations: 4 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3608, allocations: 15.92 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.3609, allocations: 77.38 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3611, allocations: 99.94 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3611, allocations: 0 / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3611, allocations: 7.938 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3611, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 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.0005805/0.3617, allocations: 387.2 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3618, allocations: 8.031 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.3618, allocations: 12.75 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3621, allocations: 196.2 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3621, allocations: 8.375 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3622, allocations: 8.375 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3623, allocations: 73.92 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3623, allocations: 0 / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3623, allocations: 8 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3624, allocations: 0 / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3625, allocations: 35.98 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.3632, allocations: 491.2 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.3635, allocations: 151.7 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.3636, allocations: 28.94 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.3636, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.3636, allocations: 34.59 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3637, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005626/0.3642, allocations: 199.4 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3643, allocations: 51.41 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3644, allocations: 162.2 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3645, allocations: 25.7 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.3645, allocations: 111.9 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3645, allocations: 15.81 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.3646, allocations: 13.7 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3647, allocations: 318.8 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.3647, allocations: 15.98 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.3648, allocations: 30.58 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.3649, allocations: 48.94 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3649, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002062/0.3651, allocations: 98.38 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3651, allocations: 4 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3651, allocations: 4 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.3653, allocations: 16.84 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.336e-05/0.3653, allocations: 15.94 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.3665, allocations: 1.296 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3667, allocations: 20.02 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.3667, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 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.0001043/0.3668, allocations: 121.7 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.3668, allocations: 11.91 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.3669, allocations: 16.19 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3669, allocations: 3.938 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3669, allocations: 4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3669, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.3674, allocations: 359.3 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3674, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.3674, allocations: 7.938 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.844e-05/0.3675, allocations: 24.84 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3675, allocations: 3.938 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3686, allocations: 1.307 MB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3686, allocations: 0 / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3689, allocations: 188.4 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.3689, allocations: 81.02 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3689, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.369, allocations: 3.984 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.3691, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3691, allocations: 8 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.682e-05/0.3692, allocations: 122.5 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3692, allocations: 7.938 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002771/0.3695, allocations: 28 kB / 1.067 GB, free: 12.28 MB / 0.8262 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.0001329/0.3696, allocations: 103.3 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.37, allocations: 150.8 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.37, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.3702, allocations: 146.7 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.3706, allocations: 27.86 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.3711, allocations: 237.3 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3714, allocations: 0.7009 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.817e-05/0.3714, allocations: 8.891 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.3715, allocations: 11.44 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3715, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.004655/0.3761, allocations: 1.629 MB / 1.07 GB, free: 9.211 MB / 0.8262 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