Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001194/0.001194, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001213/0.001213, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.152/2.152, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 68.28 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2299, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007088/0.237, allocations: 7.252 MB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00613/0.2432, allocations: 5.531 MB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.2437, allocations: 51.69 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.2467, allocations: 1.687 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008892/0.2477, allocations: 0.6166 MB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.2484, allocations: 383.2 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002262/0.2507, allocations: 2.951 MB / 1.037 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.2513, allocations: 0.5371 MB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.2523, allocations: 1.082 MB / 1.038 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.2538, allocations: 1.616 MB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.2541, allocations: 196 kB / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.2546, allocations: 315.8 kB / 1.04 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.2552, allocations: 0.701 MB / 1.041 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009989/0.2562, allocations: 1.209 MB / 1.042 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.2586, allocations: 3.45 MB / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2586, allocations: 0 / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2586, allocations: 0 / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.2586, allocations: 0 / 1.046 GB, free: 14.19 MB / 0.8262 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.005655/0.2643, allocations: 3.405 MB / 1.049 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2643, allocations: 12.92 kB / 1.049 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.2647, allocations: 245.9 kB / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.2675, allocations: 1.98 MB / 1.051 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.2675, allocations: 65 kB / 1.051 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.2677, allocations: 88 kB / 1.051 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.2686, allocations: 0.7207 MB / 1.052 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2687, allocations: 0 / 1.052 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.2687, allocations: 23.98 kB / 1.052 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2687, allocations: 12 kB / 1.052 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.27, allocations: 0.9758 MB / 1.053 GB, free: 6.527 MB / 0.8262 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.008244/0.2783, allocations: 4.484 MB / 1.057 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2794, allocations: 0.7866 MB / 1.058 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.28, allocations: 0.502 MB / 1.059 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.28, allocations: 4.719 kB / 1.059 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.28, allocations: 46.5 kB / 1.059 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.2801, allocations: 0 / 1.059 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.008341/0.2884, allocations: 3.461 MB / 1.062 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2884, allocations: 63.36 kB / 1.062 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.2915, allocations: 2.945 MB / 1.065 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.2916, allocations: 53.7 kB / 1.065 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.2923, allocations: 0.8513 MB / 1.066 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.2925, allocations: 169.7 kB / 1.066 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005125/0.293, allocations: 335.5 kB / 1.066 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2931, allocations: 361.9 kB / 1.067 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.2947, allocations: 1.37 MB / 1.068 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.2966, allocations: 1.624 MB / 1.07 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.2988, allocations: 1.922 MB / 1.072 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2989, allocations: 0 / 1.072 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.397/0.6958, allocations: 4.082 MB / 1.076 GB, free: 58.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6959, allocations: 11.19 kB / 1.076 GB, free: 58.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6959, allocations: 2.078 kB / 1.076 GB, free: 58.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/0.6993, allocations: 1.102 MB / 1.077 GB, free: 58.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7006, allocations: 224.8 kB / 1.077 GB, free: 58.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.7124, allocations: 7.954 MB / 1.085 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.7143, allocations: 262.5 kB / 1.085 GB, free: 55.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/0.7146, allocations: 46.48 kB / 1.085 GB, free: 55.59 MB / 0.8419 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.0012/0.7158, allocations: 0.7987 MB / 1.086 GB, free: 55.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.7162, allocations: 213.4 kB / 1.086 GB, free: 55.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.7166, allocations: 256.6 kB / 1.086 GB, free: 55.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7166, allocations: 4.438 kB / 1.086 GB, free: 55.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/0.7166, allocations: 7.969 kB / 1.086 GB, free: 55.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.7166, allocations: 2.25 kB / 1.086 GB, free: 55.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.7181, allocations: 1.229 MB / 1.087 GB, free: 54.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7181, allocations: 3.938 kB / 1.087 GB, free: 54.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.7181, allocations: 5.625 kB / 1.087 GB, free: 54.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/0.7209, allocations: 1.022 MB / 1.088 GB, free: 54.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.721, allocations: 6.531 kB / 1.088 GB, free: 54.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.7313, allocations: 7.92 MB / 1.096 GB, free: 50.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7314, allocations: 3.938 kB / 1.096 GB, free: 50.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.7348, allocations: 1.954 MB / 1.098 GB, free: 50.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/0.7355, allocations: 441.8 kB / 1.098 GB, free: 49.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.7357, allocations: 6.781 kB / 1.098 GB, free: 49.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.7363, allocations: 25.36 kB / 1.098 GB, free: 49.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.7364, allocations: 46.78 kB / 1.099 GB, free: 49.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.7364, allocations: 10.62 kB / 1.099 GB, free: 49.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002554/0.739, allocations: 2.042 MB / 1.101 GB, free: 49.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.092e-06/0.739, allocations: 0.75 kB / 1.101 GB, free: 49.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001512/0.7405, allocations: 0.6195 MB / 1.101 GB, free: 49.05 MB / 0.8419 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.000327/0.7409, allocations: 157.5 kB / 1.101 GB, free: 48.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004136/0.745, allocations: 2.819 MB / 1.104 GB, free: 47.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.745, allocations: 0 / 1.104 GB, free: 47.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.747, allocations: 1.04 MB / 1.105 GB, free: 47.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.749, allocations: 0.674 MB / 1.106 GB, free: 47.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.7536, allocations: 4.128 MB / 1.11 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.7549, allocations: 1.914 MB / 1.112 GB, free: 44.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008058/0.7557, allocations: 331.6 kB / 1.112 GB, free: 44.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.756, allocations: 89.31 kB / 1.112 GB, free: 44.57 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/0.756, allocations: 0 / 1.112 GB, free: 44.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.0469/0.8029, allocations: 42.03 MB / 1.153 GB, free: 14.93 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches