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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008848/0.0008847, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001029/0.001029, allocations: 168.7 kB / 15.95 MB, free: 204 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.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005299, allocations: 19.92 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.8581, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00713/0.8653, allocations: 6.463 MB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006835/0.8722, allocations: 4.748 MB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.8732, allocations: 35.81 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.8768, allocations: 1.368 MB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.8781, allocations: 0.5161 MB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.8787, allocations: 181.2 kB / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.8805, allocations: 1.621 MB / 1.037 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.8812, allocations: 0.4932 MB / 1.037 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007336/0.8819, allocations: 0.6023 MB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008293/0.8828, allocations: 0.7542 MB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.8829, allocations: 64 kB / 1.039 GB, free: 15.14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.8834, allocations: 175.8 kB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.8837, allocations: 290.7 kB / 1.039 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.884, allocations: 352.7 kB / 1.04 GB, free: 14.33 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.8857, allocations: 1.629 MB / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8857, allocations: 0 / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8857, allocations: 0 / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.8857, allocations: 0 / 1.041 GB, free: 12.7 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.002514/0.8882, allocations: 1.892 MB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.8883, allocations: 12.56 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.8886, allocations: 201.5 kB / 1.043 GB, free: 10.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.8906, allocations: 1.467 MB / 1.045 GB, free: 8.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.8907, allocations: 28.98 kB / 1.045 GB, free: 8.961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.8908, allocations: 47.89 kB / 1.045 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.8915, allocations: 442.3 kB / 1.045 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8915, allocations: 0 / 1.045 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.8915, allocations: 15.98 kB / 1.045 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.8916, allocations: 24.98 kB / 1.045 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.8922, allocations: 427.6 kB / 1.046 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.8952, allocations: 2.319 MB / 1.048 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/0.8962, allocations: 0.4967 MB / 1.048 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.8965, allocations: 203.5 kB / 1.049 GB, free: 4.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.8966, allocations: 4.281 kB / 1.049 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.8966, allocations: 42.84 kB / 1.049 GB, free: 4.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.8966, allocations: 0 / 1.049 GB, free: 4.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0009823/0.8976, allocations: 0.6375 MB / 1.049 GB, free: 4.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.8976, allocations: 59.36 kB / 1.049 GB, free: 4.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.9008, allocations: 2.555 MB / 1.052 GB, free: 1.488 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.9009, allocations: 37.64 kB / 1.052 GB, free: 1.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/0.9017, allocations: 0.7721 MB / 1.053 GB, free: 0.668 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.9018, allocations: 110.3 kB / 1.053 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.9018, allocations: 16 kB / 1.053 GB, free: 0.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9019, allocations: 318 kB / 1.053 GB, free: 232 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.9021, allocations: 131.9 kB / 1.053 GB, free: 100 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.9024, allocations: 174.5 kB / 1.053 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.9027, allocations: 172.2 kB / 1.053 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9027, allocations: 0 / 1.053 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006968/0.9034, allocations: 0.5187 MB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9034, allocations: 4 kB / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.9034, allocations: 4.031 kB / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9035, allocations: 3.984 kB / 1.054 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.9038, allocations: 79.91 kB / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9038, allocations: 0 / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.9042, allocations: 39.53 kB / 1.054 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.9042, allocations: 8 kB / 1.054 GB, free: 15.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008402/0.9051, allocations: 0.6848 MB / 1.055 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.9053, allocations: 185.6 kB / 1.055 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.9056, allocations: 223.2 kB / 1.055 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.9056, allocations: 4 kB / 1.055 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.9056, allocations: 0 / 1.055 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.9056, allocations: 3.984 kB / 1.055 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.9076, allocations: 1.577 MB / 1.057 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9076, allocations: 0 / 1.057 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.9079, allocations: 83.98 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9079, allocations: 4 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.908, allocations: 4 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.908, allocations: 7.953 kB / 1.057 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.908, allocations: 0 / 1.057 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.9087, allocations: 0.6464 MB / 1.057 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/0.9092, allocations: 374.5 kB / 1.058 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.9094, allocations: 4 kB / 1.058 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.9098, allocations: 15.91 kB / 1.058 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.9098, allocations: 23.92 kB / 1.058 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.9098, allocations: 11.94 kB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002424/0.9123, allocations: 1.831 MB / 1.06 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.9123, allocations: 0 / 1.06 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006771/0.913, allocations: 231.8 kB / 1.06 GB, free: 9.047 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 (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.000394/0.9134, allocations: 150.2 kB / 1.06 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.9139, allocations: 313.1 kB / 1.06 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9139, allocations: 4 kB / 1.06 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.9141, allocations: 175.7 kB / 1.06 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.9163, allocations: 0.5919 MB / 1.061 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.9218, allocations: 3.671 MB / 1.065 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.9232, allocations: 1.746 MB / 1.066 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008874/0.9241, allocations: 311.1 kB / 1.067 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.9242, allocations: 83.44 kB / 1.067 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of SimCode: time 1.011e-06/0.9243, allocations: 0 / 1.067 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of Templates: time 0.03639/0.9607, allocations: 20.31 MB / 1.087 GB, free: 13.95 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