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.001064/0.001064, allocations: 110.1 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.001066/0.001066, allocations: 193.1 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.19 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.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.78 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2498, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008001/0.2579, allocations: 7.252 MB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00714/0.265, allocations: 5.539 MB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/0.2659, allocations: 47.75 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.2695, allocations: 1.687 MB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.2707, allocations: 0.6165 MB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.2716, allocations: 375.2 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.2743, allocations: 2.947 MB / 1.037 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.2749, allocations: 0.545 MB / 1.037 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.2762, allocations: 1.082 MB / 1.038 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.2778, allocations: 1.612 MB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.2782, allocations: 199.9 kB / 1.04 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.2788, allocations: 323.8 kB / 1.04 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006007/0.2794, allocations: 0.6971 MB / 1.041 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.2805, allocations: 1.205 MB / 1.042 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.2832, allocations: 3.458 MB / 1.046 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2832, allocations: 4 kB / 1.046 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2832, allocations: 0 / 1.046 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.205e-05/0.2832, allocations: 0 / 1.046 GB, free: 14.13 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.006323/0.2896, allocations: 3.402 MB / 1.049 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2896, allocations: 12.86 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.29, allocations: 245.9 kB / 1.049 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.2934, allocations: 1.976 MB / 1.051 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.2935, allocations: 65 kB / 1.051 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.2937, allocations: 88 kB / 1.051 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009987/0.2947, allocations: 0.7207 MB / 1.052 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2947, allocations: 4 kB / 1.052 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.2948, allocations: 16 kB / 1.052 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2948, allocations: 8 kB / 1.052 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2962, allocations: 0.9797 MB / 1.053 GB, free: 6.477 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.009881/0.3061, allocations: 4.487 MB / 1.057 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.3073, allocations: 0.7893 MB / 1.058 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.3079, allocations: 0.502 MB / 1.059 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.308, allocations: 4.719 kB / 1.059 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.308, allocations: 42.48 kB / 1.059 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.063e-06/0.308, allocations: 0 / 1.059 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.009273/0.3173, allocations: 3.457 MB / 1.062 GB, free: 13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3174, allocations: 63.3 kB / 1.062 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.3209, allocations: 2.948 MB / 1.065 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.3211, allocations: 49.7 kB / 1.065 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/0.3219, allocations: 0.863 MB / 1.066 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.3221, allocations: 169.7 kB / 1.066 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/0.3227, allocations: 327.5 kB / 1.066 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3228, allocations: 365.9 kB / 1.067 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.3246, allocations: 1.366 MB / 1.068 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.3267, allocations: 1.628 MB / 1.07 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.3291, allocations: 1.922 MB / 1.072 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3292, allocations: 0 / 1.072 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.4271/0.7563, allocations: 4.081 MB / 1.076 GB, free: 58.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.7564, allocations: 9.312 kB / 1.076 GB, free: 58.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.7564, allocations: 1.062 kB / 1.076 GB, free: 58.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003543/0.7599, allocations: 1.103 MB / 1.077 GB, free: 58.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7613, allocations: 225 kB / 1.077 GB, free: 58.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.7729, allocations: 7.95 MB / 1.085 GB, free: 55.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.7749, allocations: 267.5 kB / 1.085 GB, free: 55.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.7751, allocations: 43.17 kB / 1.085 GB, free: 55.53 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.001218/0.7763, allocations: 0.7978 MB / 1.086 GB, free: 55.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.7766, allocations: 218.1 kB / 1.086 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.7771, allocations: 256.7 kB / 1.086 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.7771, allocations: 3.812 kB / 1.086 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.7771, allocations: 10.23 kB / 1.086 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7771, allocations: 2.062 kB / 1.086 GB, free: 54.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.7786, allocations: 1.231 MB / 1.087 GB, free: 54.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7786, allocations: 1.109 kB / 1.087 GB, free: 54.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.7787, allocations: 7.75 kB / 1.087 GB, free: 54.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003042/0.7817, allocations: 1.023 MB / 1.088 GB, free: 54.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.7818, allocations: 10.69 kB / 1.088 GB, free: 54.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.7931, allocations: 7.91 MB / 1.096 GB, free: 50.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7932, allocations: 4.406 kB / 1.096 GB, free: 50.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.7969, allocations: 1.954 MB / 1.098 GB, free: 50.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.798, allocations: 440.8 kB / 1.098 GB, free: 49.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.7982, allocations: 11.5 kB / 1.098 GB, free: 49.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.7988, allocations: 22.94 kB / 1.098 GB, free: 49.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.799, allocations: 45.56 kB / 1.099 GB, free: 49.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.799, allocations: 16.25 kB / 1.099 GB, free: 49.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00287/0.8019, allocations: 2.041 MB / 1.101 GB, free: 49.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8019, allocations: 0 / 1.101 GB, free: 49.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001867/0.8038, allocations: 0.6163 MB / 1.101 GB, free: 48.98 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.0003872/0.8041, allocations: 158.9 kB / 1.101 GB, free: 48.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004941/0.8091, allocations: 2.818 MB / 1.104 GB, free: 47.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8091, allocations: 0 / 1.104 GB, free: 47.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.8113, allocations: 1.045 MB / 1.105 GB, free: 47.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.8139, allocations: 0.6674 MB / 1.106 GB, free: 47.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.8195, allocations: 4.126 MB / 1.11 GB, free: 45.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.8211, allocations: 1.913 MB / 1.112 GB, free: 44.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001129/0.8222, allocations: 330 kB / 1.112 GB, free: 44.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.8225, allocations: 87.66 kB / 1.112 GB, free: 44.51 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.8225, allocations: 0 / 1.112 GB, free: 44.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.05137/0.8739, allocations: 42.03 MB / 1.153 GB, free: 14.9 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 gbode -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