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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.005975/0.005975, allocations: 101.3 kB / 15.88 MB, free: 5.863 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.001473/0.001473, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 65.45 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002963/0.3, allocations: 1.683 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.3008, allocations: 486.7 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.3009, allocations: 7.938 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.578e-05/0.301, allocations: 7.922 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3012, allocations: 39.69 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3014, allocations: 19.98 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3015, allocations: 139.3 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3017, allocations: 35.95 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3018, allocations: 55.78 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.3019, allocations: 47.83 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.302, allocations: 8 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.302, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.302, allocations: 15.86 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.3021, allocations: 55.73 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3022, allocations: 80.09 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3022, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.52e-07/0.3022, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3022, allocations: 0 / 1.055 GB, free: 5.578 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.0005361/0.3028, allocations: 399.1 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3028, allocations: 15.97 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.3029, allocations: 8.844 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3031, allocations: 205.5 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3031, allocations: 12.38 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3031, allocations: 12.25 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3033, allocations: 73.98 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3033, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3033, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3033, allocations: 4 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.3034, allocations: 31.98 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.304, allocations: 495.2 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.3043, allocations: 147.7 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.3044, allocations: 24.86 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3044, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3044, allocations: 34.59 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.3044, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005406/0.305, allocations: 203.7 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.305, allocations: 59.34 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3052, allocations: 155.3 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3052, allocations: 33.7 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.3053, allocations: 108 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3053, allocations: 11.81 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3053, allocations: 17.72 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.3054, allocations: 326.8 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.3055, allocations: 12 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.3055, allocations: 38.5 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/0.3056, allocations: 40.89 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3056, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002111/0.3058, allocations: 98.36 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3058, allocations: 7.938 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3058, allocations: 4.188 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.306, allocations: 24.83 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.382e-05/0.3061, allocations: 12 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.3071, allocations: 1.303 MB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3072, allocations: 12.12 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3072, allocations: 0 / 1.059 GB, free: 1.266 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.175e-05/0.3073, allocations: 125.8 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.3074, allocations: 11.81 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.3074, allocations: 12.25 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3074, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3074, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3074, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.3078, allocations: 367.3 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3078, allocations: 0 / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.3079, allocations: 4 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.613e-05/0.308, allocations: 20.84 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.308, allocations: 7.875 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009144/0.3089, allocations: 1.3 MB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3089, allocations: 0 / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3091, allocations: 196.3 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3092, allocations: 88.95 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3092, allocations: 0 / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.3093, allocations: 0 / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.3093, allocations: 15.92 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3093, allocations: 0 / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.3094, allocations: 122.1 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3094, allocations: 0 / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002639/0.3097, allocations: 32 kB / 1.061 GB, free: 14.74 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 9.687e-05/0.3098, allocations: 99.25 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3101, allocations: 150.7 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3102, allocations: 0 / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3103, allocations: 142.6 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3107, allocations: 31.86 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.3112, allocations: 242.3 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3114, allocations: 0.697 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.3114, allocations: 11.44 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3115, allocations: 7.938 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.003484/0.3149, allocations: 1.837 MB / 1.064 GB, free: 11.45 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches