Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009803/0.0009802, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.00725/0.00725, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.39/2.39, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003196, allocations: 8.875 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2451, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006568/0.2517, allocations: 6.768 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006737/0.2585, allocations: 5.411 MB / 1.071 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009469/0.2595, allocations: 39.75 kB / 1.071 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/0.2633, allocations: 1.579 MB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.2648, allocations: 0.5472 MB / 1.073 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.2658, allocations: 335.5 kB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.2688, allocations: 3.117 MB / 1.076 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.2694, allocations: 0.505 MB / 1.077 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.2707, allocations: 0.9762 MB / 1.077 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.2725, allocations: 1.546 MB / 1.079 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004111/0.2729, allocations: 120 kB / 1.079 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.2736, allocations: 239.8 kB / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006004/0.2742, allocations: 0.6269 MB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.2755, allocations: 1.144 MB / 1.081 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.278, allocations: 3.181 MB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.278, allocations: 0 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.278, allocations: 4 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.282e-05/0.2781, allocations: 0 / 1.084 GB, free: 11.18 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.006339/0.2844, allocations: 3.529 MB / 1.088 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2845, allocations: 12.03 kB / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.2848, allocations: 245.8 kB / 1.088 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.2873, allocations: 1.874 MB / 1.09 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.2874, allocations: 65 kB / 1.09 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.2876, allocations: 95.94 kB / 1.09 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.2885, allocations: 0.713 MB / 1.091 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2885, allocations: 0 / 1.091 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.2886, allocations: 20 kB / 1.091 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2886, allocations: 11.94 kB / 1.091 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2899, allocations: 0.9836 MB / 1.092 GB, free: 3.508 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.3, allocations: 5.1 MB / 1.097 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.3012, allocations: 0.7885 MB / 1.097 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.3018, allocations: 0.5028 MB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.3018, allocations: 8.703 kB / 1.098 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3019, allocations: 42.48 kB / 1.098 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.3019, allocations: 3.938 kB / 1.098 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009036/0.3109, allocations: 3.527 MB / 1.101 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.311, allocations: 63.3 kB / 1.101 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.3142, allocations: 2.972 MB / 1.104 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.3144, allocations: 53.7 kB / 1.104 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.3152, allocations: 0.863 MB / 1.105 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3154, allocations: 157.8 kB / 1.105 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3156, allocations: 157.6 kB / 1.105 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3157, allocations: 361.9 kB / 1.106 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.3174, allocations: 1.37 MB / 1.107 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.3194, allocations: 1.628 MB / 1.109 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.3218, allocations: 1.915 MB / 1.111 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3218, allocations: 4 kB / 1.111 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006407/0.3282, allocations: 4.09 MB / 1.115 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3282, allocations: 4 kB / 1.115 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3282, allocations: 0 / 1.115 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.3312, allocations: 1.105 MB / 1.116 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.3322, allocations: 227.7 kB / 1.116 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.3424, allocations: 7.348 MB / 1.123 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.3441, allocations: 269.9 kB / 1.123 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.3443, allocations: 40.11 kB / 1.123 GB, free: 2.5 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001056/0.3453, allocations: 0.8052 MB / 1.124 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.3456, allocations: 213.1 kB / 1.124 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.346, allocations: 262.7 kB / 1.125 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.346, allocations: 4 kB / 1.125 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.346, allocations: 8 kB / 1.125 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.346, allocations: 0 / 1.125 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3473, allocations: 1.232 MB / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3473, allocations: 7.938 kB / 1.126 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.3473, allocations: 7.938 kB / 1.126 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/0.3501, allocations: 1.027 MB / 1.127 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3502, allocations: 8 kB / 1.127 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.3606, allocations: 7.341 MB / 1.134 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3606, allocations: 0 / 1.134 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.3641, allocations: 1.958 MB / 1.136 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.3648, allocations: 446.1 kB / 1.136 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.365, allocations: 4 kB / 1.136 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.3656, allocations: 39.81 kB / 1.136 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3657, allocations: 43.88 kB / 1.136 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.3657, allocations: 8 kB / 1.136 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00266/0.3684, allocations: 2.055 MB / 1.138 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3684, allocations: 96 / 1.138 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001604/0.37, allocations: 0.6208 MB / 1.139 GB, free: 2.168 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.3703, allocations: 153.8 kB / 1.139 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004574/0.3749, allocations: 2.838 MB / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3749, allocations: 4.062 kB / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.3771, allocations: 1.063 MB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.3793, allocations: 0.6208 MB / 1.144 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.3846, allocations: 4.717 MB / 1.148 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.3861, allocations: 1.911 MB / 1.15 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007534/0.3869, allocations: 325.6 kB / 1.15 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.3872, allocations: 87.44 kB / 1.15 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.3872, allocations: 0 / 1.15 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of Templates: time 0.05437/0.4415, allocations: 39.97 MB / 1.19 GB, free: 14.77 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches