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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001288/0.001288, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001445/0.001445, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 0.9516 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00908/1.034, allocations: 7.337 MB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01037/1.045, allocations: 5.197 MB / 1.101 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/1.048, allocations: 56.84 kB / 1.101 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006445/1.054, allocations: 1.686 MB / 1.103 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003341/1.058, allocations: 0.6013 MB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/1.059, allocations: 233.3 kB / 1.103 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004052/1.063, allocations: 1.761 MB / 1.105 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/1.064, allocations: 0.5882 MB / 1.106 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/1.066, allocations: 0.6992 MB / 1.106 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/1.067, allocations: 0.805 MB / 1.107 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.067, allocations: 83.56 kB / 1.107 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/1.068, allocations: 207.2 kB / 1.108 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004273/1.069, allocations: 331.2 kB / 1.108 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.07, allocations: 0.7822 MB / 1.109 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003875/1.074, allocations: 2.426 MB / 1.111 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.074, allocations: 0 / 1.111 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.104e-06/1.074, allocations: 0 / 1.111 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.751e-05/1.074, allocations: 1.469 kB / 1.111 GB, free: 7.758 MB / 0.8731 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.004976/1.079, allocations: 2.251 MB / 1.113 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.079, allocations: 9.469 kB / 1.113 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/1.079, allocations: 203.7 kB / 1.113 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/1.083, allocations: 1.674 MB / 1.115 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/1.083, allocations: 32.27 kB / 1.115 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/1.083, allocations: 32.12 kB / 1.115 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.084, allocations: 449.5 kB / 1.115 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.084, allocations: 1.375 kB / 1.115 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/1.085, allocations: 14.97 kB / 1.115 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/1.085, allocations: 24.3 kB / 1.116 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/1.086, allocations: 430 kB / 1.116 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/1.092, allocations: 2.299 MB / 1.118 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.093, allocations: 0.4956 MB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/1.093, allocations: 205.9 kB / 1.119 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/1.093, allocations: 7.406 kB / 1.119 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/1.093, allocations: 41.06 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 4.198e-06/1.093, allocations: 4 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.001464/1.095, allocations: 0.6377 MB / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.095, allocations: 55.41 kB / 1.12 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/1.1, allocations: 2.552 MB / 1.122 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.1, allocations: 36.2 kB / 1.122 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/1.101, allocations: 0.7613 MB / 1.123 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/1.101, allocations: 110.6 kB / 1.123 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.101, allocations: 72.67 kB / 1.123 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.101, allocations: 324.6 kB / 1.123 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/1.101, allocations: 134 kB / 1.123 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/1.102, allocations: 175.6 kB / 1.124 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/1.102, allocations: 325.8 kB / 1.124 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.102, allocations: 1.094 kB / 1.124 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001099/1.103, allocations: 0.527 MB / 1.124 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.103, allocations: 4.531 kB / 1.124 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.103, allocations: 1.25 kB / 1.124 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.103, allocations: 5.125 kB / 1.124 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/1.104, allocations: 80.81 kB / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/1.104, allocations: 1.562 kB / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/1.104, allocations: 30.53 kB / 1.125 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/1.104, allocations: 13.55 kB / 1.125 GB, free: 0.6641 MB / 0.8731 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.001308/1.106, allocations: 0.6874 MB / 1.125 GB, free: 372 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.106, allocations: 184.9 kB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/1.107, allocations: 212.7 kB / 1.126 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.107, allocations: 8.156 kB / 1.126 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.107, allocations: 4.797 kB / 1.126 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.107, allocations: 3.156 kB / 1.126 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/1.109, allocations: 1.574 MB / 1.127 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.109, allocations: 1.312 kB / 1.127 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/1.11, allocations: 74.77 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.11, allocations: 2.094 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.11, allocations: 11.59 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/1.11, allocations: 1.953 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.11, allocations: 6.406 kB / 1.127 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/1.111, allocations: 0.6412 MB / 1.128 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/1.111, allocations: 372 kB / 1.128 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/1.112, allocations: 10.86 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/1.112, allocations: 9.328 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/1.112, allocations: 23.69 kB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/1.112, allocations: 6.594 kB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003482/1.116, allocations: 1.833 MB / 1.13 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.116, allocations: 5.312 kB / 1.13 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009397/1.117, allocations: 224.1 kB / 1.13 GB, free: 14.12 MB / 0.8887 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.0004995/1.117, allocations: 176 kB / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006884/1.118, allocations: 332.6 kB / 1.131 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.118, allocations: 5.031 kB / 1.131 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/1.118, allocations: 176.1 kB / 1.131 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.121, allocations: 0.6204 MB / 1.132 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/1.128, allocations: 3.144 MB / 1.135 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.131, allocations: 1.618 MB / 1.136 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/1.131, allocations: 87.47 kB / 1.136 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of SimCode: time 6.01e-07/1.131, allocations: 0 / 1.136 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of Templates: time 0.05712/1.188, allocations: 24.79 MB / 1.161 GB, free: 0.793 MB / 0.8887 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/jenkins1/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