Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001617/0.001617, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001756/0.001756, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.492/1.492, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.31/2.31, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 62.72 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2727, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008047/0.2807, allocations: 7.237 MB / 0.9573 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007701/0.2885, allocations: 5.539 MB / 0.9627 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.2898, allocations: 43.75 kB / 0.9628 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004532/0.2943, allocations: 1.694 MB / 0.9644 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2963, allocations: 0.6127 MB / 0.965 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2974, allocations: 379.2 kB / 0.9654 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.3004, allocations: 2.93 MB / 0.9683 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.3011, allocations: 0.5371 MB / 0.9688 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.3029, allocations: 1.078 MB / 0.9698 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.3049, allocations: 1.62 MB / 0.9714 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004892/0.3054, allocations: 200 kB / 0.9716 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007887/0.3062, allocations: 319.8 kB / 0.9719 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.3069, allocations: 0.701 MB / 0.9726 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.3083, allocations: 1.213 MB / 0.9738 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.3113, allocations: 3.439 MB / 0.9771 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3114, allocations: 0 / 0.9771 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3114, allocations: 0 / 0.9771 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.253e-05/0.3114, allocations: 0 / 0.9771 GB, free: 13.2 MB / 0.7637 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.006974/0.3184, allocations: 3.405 MB / 0.9805 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3185, allocations: 12.02 kB / 0.9805 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.3189, allocations: 245.9 kB / 0.9807 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.3218, allocations: 1.882 MB / 0.9826 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.3218, allocations: 68.94 kB / 0.9826 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.322, allocations: 88 kB / 0.9827 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3231, allocations: 0.7169 MB / 0.9834 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3231, allocations: 0 / 0.9834 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.3232, allocations: 20 kB / 0.9834 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3232, allocations: 8 kB / 0.9834 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3246, allocations: 0.9797 MB / 0.9844 GB, free: 5.637 MB / 0.7637 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.01088/0.3355, allocations: 4.526 MB / 0.9888 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3368, allocations: 0.7799 MB / 0.9896 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.3375, allocations: 0.4966 MB / 0.9901 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.3375, allocations: 4.719 kB / 0.9901 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3376, allocations: 42.5 kB / 0.9901 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.887e-06/0.3376, allocations: 4 kB / 0.9901 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.009961/0.3475, allocations: 3.474 MB / 0.9935 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3476, allocations: 59.36 kB / 0.9936 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/0.3516, allocations: 2.98 MB / 0.9965 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003689/0.352, allocations: 53.7 kB / 0.9965 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/0.3528, allocations: 0.8553 MB / 0.9974 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.353, allocations: 157.7 kB / 0.9975 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/0.3536, allocations: 335.5 kB / 0.9978 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3538, allocations: 361.9 kB / 0.9982 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.3557, allocations: 1.37 MB / 0.9995 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.3579, allocations: 1.628 MB / 1.001 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.3606, allocations: 1.922 MB / 1.003 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3606, allocations: 0 / 1.003 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007123/0.3678, allocations: 4.086 MB / 1.007 GB, free: 14.24 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.3678, allocations: 8 kB / 1.007 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3678, allocations: 0 / 1.007 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/0.371, allocations: 1.109 MB / 1.008 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.3723, allocations: 227.7 kB / 1.008 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.384, allocations: 7.961 MB / 1.016 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.3864, allocations: 262 kB / 1.016 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.3867, allocations: 43.98 kB / 1.016 GB, free: 4.484 MB / 0.795 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.001241/0.3879, allocations: 0.8076 MB / 1.017 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/0.3883, allocations: 209.2 kB / 1.017 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.3887, allocations: 250.7 kB / 1.018 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3887, allocations: 4 kB / 1.018 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.32e-05/0.3887, allocations: 12 kB / 1.018 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3888, allocations: 3.984 kB / 1.018 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.3902, allocations: 1.236 MB / 1.019 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3902, allocations: 0 / 1.019 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3903, allocations: 8 kB / 1.019 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.3933, allocations: 1.027 MB / 1.02 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.3933, allocations: 8 kB / 1.02 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.4048, allocations: 7.931 MB / 1.028 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4049, allocations: 0 / 1.028 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.4088, allocations: 1.953 MB / 1.029 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.4099, allocations: 461.9 kB / 1.03 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/0.4103, allocations: 4 kB / 1.03 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.4109, allocations: 23.97 kB / 1.03 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.4111, allocations: 39.94 kB / 1.03 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.4112, allocations: 8 kB / 1.03 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002846/0.414, allocations: 2.059 MB / 1.032 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.7e-07/0.414, allocations: 4 kB / 1.032 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00179/0.4158, allocations: 0.6102 MB / 1.033 GB, free: 3.566 MB / 0.8106 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.0004265/0.4163, allocations: 161.3 kB / 1.033 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004931/0.4212, allocations: 2.808 MB / 1.035 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4212, allocations: 3.938 kB / 1.035 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.4234, allocations: 1.047 MB / 1.037 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.4261, allocations: 0.6836 MB / 1.037 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.4316, allocations: 3.994 MB / 1.041 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.433, allocations: 1.789 MB / 1.043 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.4335, allocations: 87.44 kB / 1.043 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.4335, allocations: 0 / 1.043 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.5578/0.9913, allocations: 45.53 MB / 1.087 GB, free: 126.3 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches