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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001029/0.001029, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001068/0.001068, allocations: 193.2 kB / 17.31 MB, free: 5.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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.974/1.974, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.39 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2144, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007247/0.2217, allocations: 7.237 MB / 0.9582 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00643/0.2281, allocations: 5.539 MB / 0.9636 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.2287, allocations: 55.69 kB / 0.9637 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.232, allocations: 1.694 MB / 0.9653 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0009498/0.233, allocations: 0.6127 MB / 0.9659 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.2338, allocations: 390.7 kB / 0.9663 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.2362, allocations: 2.945 MB / 0.9692 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.2368, allocations: 0.5411 MB / 0.9697 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.2378, allocations: 1.074 MB / 0.9707 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.2394, allocations: 1.616 MB / 0.9723 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.2397, allocations: 196 kB / 0.9725 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.2402, allocations: 327.8 kB / 0.9728 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005644/0.2408, allocations: 0.7049 MB / 0.9735 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.2418, allocations: 1.201 MB / 0.9747 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.2445, allocations: 3.446 MB / 0.978 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2445, allocations: 0 / 0.978 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.377e-06/0.2445, allocations: 0 / 0.978 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.653e-05/0.2446, allocations: 3.938 kB / 0.978 GB, free: 12.37 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.006051/0.2506, allocations: 3.406 MB / 0.9814 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2507, allocations: 12.03 kB / 0.9814 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.251, allocations: 241.9 kB / 0.9816 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.2543, allocations: 1.983 MB / 0.9835 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.2543, allocations: 65 kB / 0.9836 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.2545, allocations: 88 kB / 0.9837 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.2555, allocations: 0.7207 MB / 0.9844 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2555, allocations: 0 / 0.9844 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.2556, allocations: 20 kB / 0.9844 GB, free: 5.703 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2556, allocations: 12 kB / 0.9844 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2569, allocations: 0.9758 MB / 0.9854 GB, free: 4.715 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.009196/0.2661, allocations: 4.476 MB / 0.9897 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.2673, allocations: 0.7856 MB / 0.9905 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.2679, allocations: 0.5005 MB / 0.991 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.2679, allocations: 4 kB / 0.991 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2679, allocations: 46.48 kB / 0.9911 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.268, allocations: 0 / 0.9911 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.008675/0.2766, allocations: 3.471 MB / 0.9944 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2767, allocations: 55.41 kB / 0.9945 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.28, allocations: 2.945 MB / 0.9974 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.2803, allocations: 53.7 kB / 0.9974 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/0.281, allocations: 0.8631 MB / 0.9983 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.2812, allocations: 169.6 kB / 0.9984 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/0.2817, allocations: 331.5 kB / 0.9987 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2819, allocations: 361.9 kB / 0.9991 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.2836, allocations: 1.37 MB / 1 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.2855, allocations: 1.624 MB / 1.002 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.2879, allocations: 1.93 MB / 1.004 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.288, allocations: 96 / 1.004 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006488/0.2944, allocations: 4.09 MB / 1.008 GB, free: 13.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2945, allocations: 4 kB / 1.008 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2945, allocations: 0 / 1.008 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.2974, allocations: 1.101 MB / 1.009 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.2985, allocations: 227.7 kB / 1.009 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.3093, allocations: 7.949 MB / 1.017 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.3111, allocations: 265.9 kB / 1.017 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.3113, allocations: 44 kB / 1.017 GB, free: 3.633 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.001029/0.3123, allocations: 0.8051 MB / 1.018 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.3125, allocations: 209.2 kB / 1.018 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.3129, allocations: 254.7 kB / 1.018 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3129, allocations: 4 kB / 1.018 GB, free: 2.355 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.3129, allocations: 8 kB / 1.018 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3129, allocations: 0 / 1.018 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3142, allocations: 1.232 MB / 1.02 GB, free: 1.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.3142, allocations: 4 kB / 1.02 GB, free: 1.062 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.3142, allocations: 7.984 kB / 1.02 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.3169, allocations: 1.02 MB / 1.021 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.3169, allocations: 8 kB / 1.021 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.3273, allocations: 7.923 MB / 1.028 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3273, allocations: 0 / 1.028 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.3306, allocations: 1.953 MB / 1.03 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.3315, allocations: 457.9 kB / 1.031 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3316, allocations: 4 kB / 1.031 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.3322, allocations: 31.97 kB / 1.031 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3323, allocations: 39.94 kB / 1.031 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3323, allocations: 8 kB / 1.031 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002491/0.3348, allocations: 2.04 MB / 1.033 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3348, allocations: 4 kB / 1.033 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001415/0.3363, allocations: 0.6092 MB / 1.033 GB, free: 2.758 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.0003415/0.3366, allocations: 160.2 kB / 1.034 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004314/0.3409, allocations: 2.819 MB / 1.036 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.341, allocations: 0 / 1.036 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.3429, allocations: 1.043 MB / 1.037 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.345, allocations: 0.6663 MB / 1.038 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/0.35, allocations: 4.137 MB / 1.042 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.3514, allocations: 1.919 MB / 1.044 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008214/0.3522, allocations: 329.9 kB / 1.044 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.3525, allocations: 87.44 kB / 1.044 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3525, allocations: 0 / 1.044 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.4011/0.7536, allocations: 42 MB / 1.085 GB, free: 124.5 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 -s cvode -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