Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 195 kB / 16.53 MB, free: 6.664 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.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.214/2.214, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4723, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007112/0.4794, allocations: 7.329 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005406/0.4849, allocations: 5.207 MB / 1.03 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.4854, allocations: 35.81 kB / 1.03 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.4885, allocations: 1.691 MB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.4894, allocations: 0.5932 MB / 1.032 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.4899, allocations: 230.6 kB / 1.032 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.4913, allocations: 1.751 MB / 1.034 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.4919, allocations: 0.5813 MB / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.4924, allocations: 0.6685 MB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.4931, allocations: 0.8124 MB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.4933, allocations: 84 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.4937, allocations: 203.7 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.494, allocations: 334.5 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005742/0.4945, allocations: 0.792 MB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4961, allocations: 2.188 MB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4961, allocations: 0 / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4961, allocations: 4 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.4961, allocations: 0 / 1.039 GB, free: 11.91 MB / 0.795 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.002372/0.4985, allocations: 2.2 MB / 1.041 GB, free: 9.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.4985, allocations: 12.03 kB / 1.041 GB, free: 9.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.4987, allocations: 198.4 kB / 1.042 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.5005, allocations: 1.571 MB / 1.043 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5006, allocations: 25 kB / 1.043 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.5006, allocations: 39.98 kB / 1.043 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.5012, allocations: 450.3 kB / 1.044 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5012, allocations: 0 / 1.044 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.5012, allocations: 12 kB / 1.044 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.5013, allocations: 24.98 kB / 1.044 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.5018, allocations: 423.7 kB / 1.044 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.5042, allocations: 2.334 MB / 1.046 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.5051, allocations: 0.4973 MB / 1.047 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.5053, allocations: 209.2 kB / 1.047 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.5053, allocations: 4.281 kB / 1.047 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.5054, allocations: 42.83 kB / 1.047 GB, free: 3.582 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.372e-06/0.5054, allocations: 0 / 1.047 GB, free: 3.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0007797/0.5062, allocations: 0.6375 MB / 1.048 GB, free: 2.938 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.5062, allocations: 63.34 kB / 1.048 GB, free: 2.863 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.5088, allocations: 2.575 MB / 1.05 GB, free: 264 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.5088, allocations: 41.7 kB / 1.05 GB, free: 216 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/0.5094, allocations: 0.7606 MB / 1.051 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.5095, allocations: 118.3 kB / 1.051 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.5096, allocations: 65.61 kB / 1.051 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.5097, allocations: 318.5 kB / 1.052 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.5099, allocations: 143.8 kB / 1.052 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.5101, allocations: 170.8 kB / 1.052 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.5105, allocations: 340.9 kB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5105, allocations: 0 / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005839/0.5111, allocations: 0.5186 MB / 1.053 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5111, allocations: 4 kB / 1.053 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5111, allocations: 0 / 1.053 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5111, allocations: 4 kB / 1.053 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.5114, allocations: 75.89 kB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5114, allocations: 0 / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.5117, allocations: 35.67 kB / 1.053 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.5118, allocations: 8 kB / 1.053 GB, free: 13.64 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 (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.0006082/0.5124, allocations: 0.6925 MB / 1.053 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5126, allocations: 185.6 kB / 1.054 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.5128, allocations: 215.2 kB / 1.054 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5128, allocations: 4 kB / 1.054 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5128, allocations: 0 / 1.054 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5128, allocations: 7.969 kB / 1.054 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.5145, allocations: 1.589 MB / 1.055 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5145, allocations: 0 / 1.055 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.5147, allocations: 75.89 kB / 1.055 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5147, allocations: 0 / 1.055 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.5148, allocations: 12 kB / 1.055 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5148, allocations: 4 kB / 1.055 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5148, allocations: 7.875 kB / 1.055 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.5154, allocations: 0.6348 MB / 1.056 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.5158, allocations: 370.6 kB / 1.056 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.516, allocations: 15.98 kB / 1.056 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.5163, allocations: 8 kB / 1.056 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.5164, allocations: 23.89 kB / 1.057 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.5164, allocations: 12 kB / 1.057 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001929/0.5183, allocations: 1.847 MB / 1.058 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5183, allocations: 0 / 1.058 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004993/0.5188, allocations: 231.7 kB / 1.059 GB, free: 7.574 MB / 0.8106 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.0003084/0.5191, allocations: 170.5 kB / 1.059 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.5197, allocations: 401.1 kB / 1.059 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5197, allocations: 4 kB / 1.059 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.5199, allocations: 172 kB / 1.059 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.5217, allocations: 0.6255 MB / 1.06 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.5254, allocations: 3.387 MB / 1.063 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.5265, allocations: 1.754 MB / 1.065 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005833/0.5271, allocations: 311 kB / 1.065 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.5272, allocations: 79.44 kB / 1.065 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.5272, allocations: 3.938 kB / 1.065 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Templates: time 0.03079/0.558, allocations: 21.82 MB / 1.087 GB, free: 11.14 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches