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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001277/0.001277, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 69.83 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3315, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002837/0.3344, allocations: 1.691 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.3351, allocations: 482.6 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.3352, allocations: 4 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.3353, allocations: 7.922 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3354, allocations: 39.69 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.3356, allocations: 23.98 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3357, allocations: 139.3 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3359, allocations: 31.95 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.336, allocations: 55.78 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/0.3361, allocations: 55.7 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3361, allocations: 8 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.3362, allocations: 4 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.3362, allocations: 19.92 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.3363, allocations: 51.72 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.3364, allocations: 95.97 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3364, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3364, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3364, allocations: 0 / 1.055 GB, free: 6.137 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.0005373/0.337, allocations: 411.1 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.337, allocations: 12.03 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.3371, allocations: 8.844 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3373, allocations: 204 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3373, allocations: 8.375 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3373, allocations: 4.375 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3375, allocations: 73.98 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3375, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3375, allocations: 7.984 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.3375, allocations: 4 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.3376, allocations: 31.98 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.3383, allocations: 499.2 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3386, allocations: 151.7 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.3386, allocations: 24.8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3387, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3387, allocations: 34.56 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3387, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005525/0.3393, allocations: 207.5 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.3393, allocations: 55.34 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3395, allocations: 161.1 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3395, allocations: 25.7 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.3396, allocations: 112 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.3396, allocations: 7.812 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.3396, allocations: 17.72 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3398, allocations: 330.8 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.3398, allocations: 12 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.3398, allocations: 34.56 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.3399, allocations: 36.86 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3399, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002148/0.3401, allocations: 98.31 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3402, allocations: 8.031 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3402, allocations: 4 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.3403, allocations: 24.83 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.3404, allocations: 8 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.3414, allocations: 1.304 MB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3416, allocations: 11.97 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3416, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 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.288e-05/0.3417, allocations: 119.4 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3417, allocations: 15.81 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3418, allocations: 20.41 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3418, allocations: 3.984 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3418, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3418, allocations: 4 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.3422, allocations: 355.5 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3422, allocations: 7.984 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.3423, allocations: 4 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.399e-05/0.3424, allocations: 24.84 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3424, allocations: 3.938 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/0.3434, allocations: 1.3 MB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3434, allocations: 4.031 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3436, allocations: 180.1 kB / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.3437, allocations: 89 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3437, allocations: 4 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.3438, allocations: 4.094 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3438, allocations: 4 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.3438, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.3439, allocations: 119.2 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3439, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002687/0.3442, allocations: 36 kB / 1.061 GB, free: 15.3 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.0001011/0.3443, allocations: 101.2 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.3446, allocations: 162.6 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3446, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3448, allocations: 130.7 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3452, allocations: 43.41 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.3456, allocations: 216.3 kB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3459, allocations: 0.7009 MB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.346, allocations: 4.891 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.346, allocations: 15.44 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.346, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.004272/0.3503, allocations: 1.642 MB / 1.064 GB, free: 12.24 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