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.001069/0.001069, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.0009713/0.0009713, allocations: 193.5 kB / 17.29 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.34 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002554/0.2698, allocations: 1.626 MB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.2705, allocations: 486.6 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.2706, allocations: 0 / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.599e-05/0.2706, allocations: 11.86 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2708, allocations: 47.62 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.2709, allocations: 35.94 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2711, allocations: 135.3 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2712, allocations: 43.89 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2714, allocations: 67.72 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.2715, allocations: 55.77 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2715, allocations: 8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.2715, allocations: 8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.2716, allocations: 19.92 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.2716, allocations: 51.73 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.2718, allocations: 107.6 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2718, allocations: 3.938 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2718, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2718, allocations: 0 / 1.029 GB, free: 15.36 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.0004974/0.2723, allocations: 407.1 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2723, allocations: 12.03 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.2724, allocations: 8.844 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2726, allocations: 208.1 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.2726, allocations: 384 / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2726, allocations: 4.375 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2728, allocations: 73.98 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2728, allocations: 7.938 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2728, allocations: 12 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2728, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.2729, allocations: 31.98 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.2735, allocations: 483.3 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.2738, allocations: 155.7 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.2738, allocations: 20.86 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2738, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2739, allocations: 38.56 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2739, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005109/0.2744, allocations: 203.5 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2744, allocations: 51.41 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2746, allocations: 161.5 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2746, allocations: 25.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.2746, allocations: 119.9 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.2747, allocations: 3.906 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.2747, allocations: 21.72 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.2748, allocations: 322.8 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.2748, allocations: 16 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.2749, allocations: 34.56 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.275, allocations: 36.8 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.275, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001998/0.2752, allocations: 98.28 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2752, allocations: 10.34 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2752, allocations: 7.922 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.2754, allocations: 24.88 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.2754, allocations: 15.88 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009993/0.2764, allocations: 1.391 MB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2766, allocations: 19.81 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2766, allocations: 0 / 1.033 GB, free: 10.95 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 8.307e-05/0.2767, allocations: 129.7 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2767, allocations: 12 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.2767, allocations: 12.25 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2767, allocations: 4 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2767, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2768, allocations: 3.938 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.2772, allocations: 351.4 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2772, allocations: 7.875 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.2772, allocations: 4 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-05/0.2773, allocations: 24.84 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2773, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009143/0.2782, allocations: 1.394 MB / 1.035 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2782, allocations: 0 / 1.035 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.2785, allocations: 188.3 kB / 1.035 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.2785, allocations: 81.02 kB / 1.035 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2785, allocations: 16.08 kB / 1.035 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.2786, allocations: 3.938 kB / 1.035 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.2787, allocations: 0 / 1.035 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2787, allocations: 7.938 kB / 1.035 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.2788, allocations: 121.3 kB / 1.035 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2788, allocations: 0 / 1.035 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002679/0.279, allocations: 32 kB / 1.036 GB, free: 8.316 MB / 0.8106 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.0001054/0.2792, allocations: 99.25 kB / 1.036 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.2795, allocations: 150.7 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2795, allocations: 0 / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.2797, allocations: 130.7 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.28, allocations: 47.94 kB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.2804, allocations: 199.6 kB / 1.036 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2807, allocations: 0.6966 MB / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.2807, allocations: 12.88 kB / 1.037 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.2807, allocations: 11.44 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of SimCode: time 1.279e-05/0.2807, allocations: 0 / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of Templates: time 0.004132/0.2849, allocations: 1.73 MB / 1.039 GB, free: 5.191 MB / 0.8106 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 -s gbode -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