Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001624/0.001624, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7189, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006085/0.725, allocations: 6.468 MB / 0.9608 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006989/0.732, allocations: 4.724 MB / 0.9654 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.7335, allocations: 38.03 kB / 0.9654 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.7379, allocations: 1.368 MB / 0.9667 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.74, allocations: 0.5206 MB / 0.9672 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.7409, allocations: 176.3 kB / 0.9674 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.7438, allocations: 1.623 MB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.745, allocations: 497.8 kB / 0.9695 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.7467, allocations: 0.6101 MB / 0.9701 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.7485, allocations: 0.7476 MB / 0.9708 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.7489, allocations: 69.94 kB / 0.9709 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.75, allocations: 166 kB / 0.971 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.7505, allocations: 290.9 kB / 0.9713 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009604/0.7515, allocations: 354.3 kB / 0.9716 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.7538, allocations: 1.628 MB / 0.9732 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.7538, allocations: 0 / 0.9732 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7538, allocations: 8.969 kB / 0.9732 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.349e-05/0.7539, allocations: 0 / 0.9732 GB, free: 9.812 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.004656/0.7586, allocations: 1.89 MB / 0.9751 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7587, allocations: 14.06 kB / 0.9751 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006624/0.7593, allocations: 206.7 kB / 0.9753 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.7628, allocations: 1.461 MB / 0.9767 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.7628, allocations: 28.61 kB / 0.9768 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/0.7629, allocations: 35.66 kB / 0.9768 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.7639, allocations: 442.7 kB / 0.9772 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.7639, allocations: 0 / 0.9772 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.7639, allocations: 18.69 kB / 0.9772 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.764, allocations: 22.19 kB / 0.9772 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.7648, allocations: 427.8 kB / 0.9777 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.7693, allocations: 2.34 MB / 0.9799 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7703, allocations: 0.4959 MB / 0.9804 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.7707, allocations: 211.7 kB / 0.9806 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.7707, allocations: 4.281 kB / 0.9806 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.7707, allocations: 30.84 kB / 0.9807 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.7707, allocations: 0 / 0.9807 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.001269/0.772, allocations: 0.6461 MB / 0.9813 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.7721, allocations: 51.41 kB / 0.9813 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.7763, allocations: 2.555 MB / 0.9838 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.7764, allocations: 41.7 kB / 0.9839 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.7772, allocations: 0.7605 MB / 0.9846 GB, free: 152 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.7773, allocations: 114.3 kB / 0.9847 GB, free: 36 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.7773, allocations: 4 kB / 0.9847 GB, free: 32 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7775, allocations: 318 kB / 0.985 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.7777, allocations: 143.8 kB / 0.9852 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.778, allocations: 177.4 kB / 0.9853 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.7782, allocations: 164.4 kB / 0.9855 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7783, allocations: 8.031 kB / 0.9855 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008881/0.7792, allocations: 0.5312 MB / 0.986 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.7792, allocations: 8 kB / 0.986 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7792, allocations: 0 / 0.986 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7792, allocations: 0 / 0.986 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.7796, allocations: 75.89 kB / 0.9861 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7796, allocations: 4 kB / 0.9861 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.7803, allocations: 31.59 kB / 0.9861 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.7803, allocations: 8 kB / 0.9861 GB, free: 14.56 MB / 0.7481 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009597/0.7813, allocations: 0.6926 MB / 0.9868 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.7816, allocations: 185.7 kB / 0.987 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.782, allocations: 211.2 kB / 0.9872 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.782, allocations: 7.984 kB / 0.9872 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.782, allocations: 0 / 0.9872 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.782, allocations: 0 / 0.9872 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.7845, allocations: 1.582 MB / 0.9888 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7846, allocations: 0 / 0.9888 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.7849, allocations: 75.89 kB / 0.9888 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.7849, allocations: 0 / 0.9888 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.7849, allocations: 8 kB / 0.9888 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.7849, allocations: 4 kB / 0.9888 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7849, allocations: 0 / 0.9888 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.7857, allocations: 0.6506 MB / 0.9895 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/0.7864, allocations: 374.5 kB / 0.9898 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.7867, allocations: 8 kB / 0.9898 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.7871, allocations: 11.91 kB / 0.9898 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.7872, allocations: 23.97 kB / 0.9899 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.7872, allocations: 12 kB / 0.9899 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002668/0.7899, allocations: 1.827 MB / 0.9917 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7899, allocations: 0 / 0.9917 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007955/0.7907, allocations: 227.8 kB / 0.9919 GB, free: 8.535 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004034/0.7911, allocations: 181.7 kB / 0.9921 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.7917, allocations: 327.5 kB / 0.9924 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7917, allocations: 4 kB / 0.9924 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.792, allocations: 171.8 kB / 0.9925 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.7944, allocations: 0.5786 MB / 0.9931 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.8001, allocations: 3.663 MB / 0.9967 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.802, allocations: 1.758 MB / 0.9984 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009215/0.8029, allocations: 311.1 kB / 0.9987 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.8032, allocations: 79.44 kB / 0.9988 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.8032, allocations: 0 / 0.9988 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of Templates: time 0.03682/0.84, allocations: 20.3 MB / 1.019 GB, free: 13.42 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches