Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001387/0.001387, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001202/0.001202, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 474.5 MB / 0.7477 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.89 kB / 1.073 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6687, allocations: 160.3 MB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009339/0.678, allocations: 7.338 MB / 1.236 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007778/0.6858, allocations: 5.215 MB / 1.242 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.687, allocations: 51.75 kB / 1.242 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005465/0.6925, allocations: 1.686 MB / 1.243 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.6943, allocations: 0.6088 MB / 1.244 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008742/0.6952, allocations: 220.2 kB / 1.244 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.6977, allocations: 1.759 MB / 1.246 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008433/0.6985, allocations: 0.5814 MB / 1.246 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.6996, allocations: 0.7036 MB / 1.247 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.7008, allocations: 0.8045 MB / 1.248 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.701, allocations: 80 kB / 1.248 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.7016, allocations: 203.8 kB / 1.248 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.702, allocations: 334.5 kB / 1.248 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009338/0.7029, allocations: 0.7843 MB / 1.249 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.7058, allocations: 2.439 MB / 1.252 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.7058, allocations: 0 / 1.252 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7058, allocations: 0 / 1.252 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.325e-05/0.7059, allocations: 0 / 1.252 GB, free: 4.023 MB / 0.9669 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.003446/0.7093, allocations: 2.334 MB / 1.254 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.7094, allocations: 8.031 kB / 1.254 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.7096, allocations: 211.5 kB / 1.254 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.7122, allocations: 1.687 MB / 1.256 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.7122, allocations: 28.98 kB / 1.256 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.7123, allocations: 39.94 kB / 1.256 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.713, allocations: 446.3 kB / 1.256 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.713, allocations: 0 / 1.256 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.7131, allocations: 15.98 kB / 1.256 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/0.7131, allocations: 28.98 kB / 1.256 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.7138, allocations: 431.6 kB / 1.257 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.7169, allocations: 2.3 MB / 1.259 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.718, allocations: 0.5045 MB / 1.259 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.7183, allocations: 205.2 kB / 1.26 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.7183, allocations: 4.281 kB / 1.26 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.7183, allocations: 30.84 kB / 1.26 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 3.406e-06/0.7184, allocations: 3.938 kB / 1.26 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.001002/0.7194, allocations: 0.6542 MB / 1.26 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.7194, allocations: 59.97 kB / 1.26 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/0.7228, allocations: 2.555 MB / 1.263 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.7228, allocations: 37.64 kB / 1.263 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008057/0.7236, allocations: 0.7685 MB / 1.264 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.7237, allocations: 119 kB / 1.264 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.7239, allocations: 69.64 kB / 1.264 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.724, allocations: 318 kB / 1.264 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.7242, allocations: 143.8 kB / 1.264 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.7245, allocations: 173.6 kB / 1.264 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.725, allocations: 323.3 kB / 1.265 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.725, allocations: 0 / 1.265 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007529/0.7258, allocations: 0.5356 MB / 1.265 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7258, allocations: 7.984 kB / 1.265 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7258, allocations: 4 kB / 1.265 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7258, allocations: 3.938 kB / 1.265 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.7262, allocations: 75.95 kB / 1.265 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7262, allocations: 4.031 kB / 1.265 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.7265, allocations: 35.67 kB / 1.265 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.7266, allocations: 15.94 kB / 1.265 GB, free: 5.5 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008148/0.7274, allocations: 0.6802 MB / 1.266 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.7276, allocations: 198.7 kB / 1.266 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.728, allocations: 215.2 kB / 1.266 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.728, allocations: 4 kB / 1.266 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.728, allocations: 3.938 kB / 1.266 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.728, allocations: 7.922 kB / 1.266 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.7301, allocations: 1.558 MB / 1.268 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7301, allocations: 4 kB / 1.268 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.7304, allocations: 75.89 kB / 1.268 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7304, allocations: 7.938 kB / 1.268 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7305, allocations: 4 kB / 1.268 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.7305, allocations: 4 kB / 1.268 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7305, allocations: 4.094 kB / 1.268 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.7313, allocations: 0.6487 MB / 1.269 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.7318, allocations: 379.6 kB / 1.269 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.732, allocations: 8 kB / 1.269 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.7324, allocations: 15.94 kB / 1.269 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.7324, allocations: 23.97 kB / 1.269 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.7325, allocations: 12 kB / 1.269 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002503/0.735, allocations: 1.827 MB / 1.271 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.735, allocations: 0 / 1.271 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006097/0.7356, allocations: 239.7 kB / 1.271 GB, free: 15.45 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.736, allocations: 166.8 kB / 1.271 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.7366, allocations: 340.4 kB / 1.272 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7366, allocations: 0 / 1.272 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.7368, allocations: 168.3 kB / 1.272 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.739, allocations: 0.6263 MB / 1.272 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.7438, allocations: 3.411 MB / 1.276 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.7453, allocations: 1.758 MB / 1.277 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007112/0.746, allocations: 311.3 kB / 1.278 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.7462, allocations: 83.44 kB / 1.278 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.7462, allocations: 0 / 1.278 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of Templates: time 0.03821/0.7844, allocations: 21.96 MB / 1.299 GB, free: 2.895 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches