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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001544/0.001544, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001678/0.001678, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.94 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7086, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002669/0.7113, allocations: 1.632 MB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007/0.712, allocations: 480.1 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.7121, allocations: 1.875 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.7122, allocations: 12.52 kB / 1.085 GB, free: 164 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.7123, allocations: 41.69 kB / 1.085 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.7125, allocations: 30.38 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.7126, allocations: 142 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.7127, allocations: 33.23 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.7129, allocations: 62.89 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.713, allocations: 55.27 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.7131, allocations: 7.781 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.7131, allocations: 7.344 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.7131, allocations: 22.56 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.7132, allocations: 51.66 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.7134, allocations: 107.3 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7134, allocations: 0.75 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7134, allocations: 0 / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7134, allocations: 1.219 kB / 1.086 GB, free: 15.89 MB / 0.8419 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.000606/0.714, allocations: 400.4 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.714, allocations: 8.344 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.7141, allocations: 15.7 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.7144, allocations: 207 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.7144, allocations: 8.031 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.7144, allocations: 4.562 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7146, allocations: 81.02 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7146, allocations: 4.891 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.7146, allocations: 0 / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7146, allocations: 9.656 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.7147, allocations: 35.56 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.7154, allocations: 483.9 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.7157, allocations: 149.3 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.7158, allocations: 25.7 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7158, allocations: 0.5625 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.7158, allocations: 32.55 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.7158, allocations: 0 / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0005677/0.7164, allocations: 205.9 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.7164, allocations: 52.88 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.7166, allocations: 160.3 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.7166, allocations: 27.23 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.7167, allocations: 116.1 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.7168, allocations: 14.98 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.7168, allocations: 19.77 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.717, allocations: 324.6 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.717, allocations: 16.66 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.7171, allocations: 31.97 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.7171, allocations: 44.52 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7172, allocations: 0 / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002186/0.7174, allocations: 95.48 kB / 1.088 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7174, allocations: 6.375 kB / 1.088 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7174, allocations: 4.594 kB / 1.088 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.7176, allocations: 22.02 kB / 1.088 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.7177, allocations: 12.36 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.7189, allocations: 1.388 MB / 1.089 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.719, allocations: 12.45 kB / 1.089 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.719, allocations: 2.375 kB / 1.089 GB, free: 12.14 MB / 0.8419 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.541e-05/0.7191, allocations: 124.7 kB / 1.089 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.7192, allocations: 8.844 kB / 1.09 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.7192, allocations: 16.81 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7192, allocations: 0.5938 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.7192, allocations: 1.062 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7192, allocations: 3.938 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.7197, allocations: 358.9 kB / 1.09 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.7197, allocations: 7.938 kB / 1.09 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.7198, allocations: 12.64 kB / 1.09 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-05/0.7199, allocations: 23.17 kB / 1.09 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.7199, allocations: 4 kB / 1.09 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.721, allocations: 1.397 MB / 1.091 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.721, allocations: 1.422 kB / 1.091 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.7213, allocations: 185.9 kB / 1.091 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.7213, allocations: 85.41 kB / 1.092 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7214, allocations: 0.7188 kB / 1.092 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.7215, allocations: 5.047 kB / 1.092 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.7215, allocations: 11.86 kB / 1.092 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.7215, allocations: 1.125 kB / 1.092 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001083/0.7216, allocations: 124.8 kB / 1.092 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7216, allocations: 1.156 kB / 1.092 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002836/0.7219, allocations: 31.81 kB / 1.092 GB, free: 9.84 MB / 0.8419 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.0001069/0.722, allocations: 96.48 kB / 1.092 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.7224, allocations: 155.5 kB / 1.092 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7224, allocations: 0 / 1.092 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.7226, allocations: 142.8 kB / 1.092 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.723, allocations: 28.25 kB / 1.092 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.7234, allocations: 235.6 kB / 1.092 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.7237, allocations: 0.6959 MB / 1.093 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.7238, allocations: 16.56 kB / 1.093 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.7238, allocations: 0 / 1.093 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.003911/0.7277, allocations: 1.842 MB / 1.095 GB, free: 8.465 MB / 0.8419 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=400 -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