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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008772/0.0008772, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005221/0.005221, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.379/2.379, allocations: 462.6 MB / 0.7364 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 11.06 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00624/0.2462, allocations: 6.874 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.2518, allocations: 5.053 MB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.2523, allocations: 31.81 kB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.2554, allocations: 1.579 MB / 1.072 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009079/0.2563, allocations: 0.5278 MB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2568, allocations: 209.6 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.2585, allocations: 1.961 MB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.259, allocations: 0.5376 MB / 1.075 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.2596, allocations: 0.6254 MB / 1.076 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.2604, allocations: 0.7889 MB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2605, allocations: 63.94 kB / 1.076 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.2608, allocations: 179.8 kB / 1.077 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.2611, allocations: 302.6 kB / 1.077 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005876/0.2617, allocations: 0.7859 MB / 1.078 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.2632, allocations: 2.016 MB / 1.08 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2632, allocations: 0 / 1.08 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2632, allocations: 0 / 1.08 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2632, allocations: 0 / 1.08 GB, free: 15.4 MB / 0.8419 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.002299/0.2655, allocations: 1.88 MB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2655, allocations: 11.97 kB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.2658, allocations: 198.4 kB / 1.082 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2678, allocations: 1.57 MB / 1.083 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2678, allocations: 28.98 kB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.2678, allocations: 36 kB / 1.083 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.2685, allocations: 446.3 kB / 1.084 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2685, allocations: 0 / 1.084 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.2686, allocations: 19.97 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.2686, allocations: 21 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.2692, allocations: 431.6 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.272, allocations: 2.342 MB / 1.086 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.2728, allocations: 0.4922 MB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.2731, allocations: 205.2 kB / 1.087 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2731, allocations: 8.281 kB / 1.087 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2731, allocations: 30.84 kB / 1.087 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.2732, allocations: 0 / 1.087 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008407/0.274, allocations: 0.6454 MB / 1.088 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.274, allocations: 51.41 kB / 1.088 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.277, allocations: 2.583 MB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.277, allocations: 29.7 kB / 1.09 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/0.2777, allocations: 0.7683 MB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.2777, allocations: 118.3 kB / 1.091 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.2778, allocations: 29.7 kB / 1.091 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2779, allocations: 318.5 kB / 1.092 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.2781, allocations: 139.9 kB / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.2783, allocations: 177.4 kB / 1.092 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.2787, allocations: 330.2 kB / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2788, allocations: 4 kB / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006231/0.2794, allocations: 0.5225 MB / 1.093 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2794, allocations: 4 kB / 1.093 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2794, allocations: 0 / 1.093 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2794, allocations: 4 kB / 1.093 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.2797, allocations: 79.89 kB / 1.093 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2797, allocations: 0 / 1.093 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.2801, allocations: 31.67 kB / 1.093 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2801, allocations: 8 kB / 1.093 GB, free: 1.48 MB / 0.8419 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.0006742/0.2808, allocations: 0.6925 MB / 1.093 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.281, allocations: 185.6 kB / 1.094 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.2813, allocations: 219.2 kB / 1.094 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2813, allocations: 4 kB / 1.094 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2813, allocations: 0 / 1.094 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2813, allocations: 3.984 kB / 1.094 GB, free: 380 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.2831, allocations: 1.574 MB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2831, allocations: 4.094 kB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.2834, allocations: 79.89 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2834, allocations: 0 / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2834, allocations: 8 kB / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2834, allocations: 7.938 kB / 1.096 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2834, allocations: 7.875 kB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.2841, allocations: 0.6323 MB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.2845, allocations: 378.5 kB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.2846, allocations: 11.98 kB / 1.097 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.285, allocations: 8 kB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.2851, allocations: 27.84 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2851, allocations: 8 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00208/0.2872, allocations: 1.851 MB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2872, allocations: 0 / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005364/0.2877, allocations: 235.7 kB / 1.099 GB, free: 11.42 MB / 0.8575 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.0003321/0.2881, allocations: 161.9 kB / 1.099 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.2885, allocations: 327.5 kB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2885, allocations: 0 / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2887, allocations: 175.8 kB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.291, allocations: 0.5807 MB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.2952, allocations: 3.837 MB / 1.104 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.2964, allocations: 1.754 MB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000654/0.2971, allocations: 319 kB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.2972, allocations: 83.38 kB / 1.106 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.2972, allocations: 0 / 1.106 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.03068/0.3279, allocations: 20.89 MB / 1.126 GB, free: 15.55 MB / 0.8887 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 -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/jenkins/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