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.001465/0.001465, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001675/0.001676, allocations: 194.4 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.323/1.323, 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 2.199/2.199, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.23 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2242, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007784/0.232, allocations: 7.229 MB / 0.9582 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007714/0.2398, allocations: 5.543 MB / 0.9636 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.2415, allocations: 47.69 kB / 0.9636 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.2456, allocations: 1.694 MB / 0.9653 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.2471, allocations: 0.6205 MB / 0.9659 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.2482, allocations: 379.2 kB / 0.9663 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.2508, allocations: 2.942 MB / 0.9691 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.2515, allocations: 0.5449 MB / 0.9697 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.2528, allocations: 1.082 MB / 0.9707 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.2545, allocations: 1.612 MB / 0.9723 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.2548, allocations: 196 kB / 0.9725 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.2555, allocations: 331.8 kB / 0.9728 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.2561, allocations: 0.6971 MB / 0.9735 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.2572, allocations: 1.201 MB / 0.9747 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.2599, allocations: 3.446 MB / 0.978 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2599, allocations: 4 kB / 0.978 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2599, allocations: 3.938 kB / 0.978 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.057e-05/0.26, allocations: 8 kB / 0.978 GB, free: 12.41 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.006291/0.2663, allocations: 3.399 MB / 0.9814 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2663, allocations: 8.031 kB / 0.9814 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.2667, allocations: 249.9 kB / 0.9816 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/0.2698, allocations: 1.983 MB / 0.9835 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.2699, allocations: 65 kB / 0.9836 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.2701, allocations: 88 kB / 0.9837 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2711, allocations: 0.713 MB / 0.9844 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2711, allocations: 0 / 0.9844 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.2712, allocations: 20 kB / 0.9844 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2712, allocations: 12 kB / 0.9844 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.2726, allocations: 0.9758 MB / 0.9854 GB, free: 4.766 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.01003/0.2827, allocations: 4.484 MB / 0.9897 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.284, allocations: 0.7886 MB / 0.9905 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.2846, allocations: 0.4966 MB / 0.991 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.2846, allocations: 4 kB / 0.991 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2847, allocations: 46.44 kB / 0.9911 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 1.953e-06/0.2847, allocations: 0 / 0.9911 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.009642/0.2943, allocations: 3.467 MB / 0.9944 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2944, allocations: 59.41 kB / 0.9945 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.2982, allocations: 2.948 MB / 0.9974 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.2985, allocations: 53.7 kB / 0.9974 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008357/0.2993, allocations: 0.8552 MB / 0.9983 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.2995, allocations: 165.6 kB / 0.9984 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005457/0.3001, allocations: 335.5 kB / 0.9987 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3002, allocations: 361.9 kB / 0.9991 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.302, allocations: 1.366 MB / 1 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.3041, allocations: 1.632 MB / 1.002 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.3065, allocations: 1.926 MB / 1.004 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3065, allocations: 0 / 1.004 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006756/0.3133, allocations: 4.086 MB / 1.008 GB, free: 13.43 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3133, allocations: 13.81 kB / 1.008 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3134, allocations: 0 / 1.008 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/0.3164, allocations: 1.105 MB / 1.009 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.3175, allocations: 227.7 kB / 1.009 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.3286, allocations: 7.933 MB / 1.017 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.3305, allocations: 273.9 kB / 1.017 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.3307, allocations: 44 kB / 1.017 GB, free: 3.68 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.001096/0.3318, allocations: 0.8036 MB / 1.018 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.332, allocations: 213.2 kB / 1.018 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.3324, allocations: 250.7 kB / 1.018 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3324, allocations: 4 kB / 1.018 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.3325, allocations: 12 kB / 1.018 GB, free: 2.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3325, allocations: 3.984 kB / 1.018 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.3339, allocations: 1.228 MB / 1.02 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.334, allocations: 3.984 kB / 1.02 GB, free: 1.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.334, allocations: 4 kB / 1.02 GB, free: 1.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.3369, allocations: 1.024 MB / 1.021 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.337, allocations: 4 kB / 1.021 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.3481, allocations: 7.919 MB / 1.028 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3481, allocations: 0 / 1.028 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.3517, allocations: 1.953 MB / 1.03 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009198/0.3526, allocations: 449.9 kB / 1.031 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.3528, allocations: 12 kB / 1.031 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.3534, allocations: 23.97 kB / 1.031 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3536, allocations: 43.94 kB / 1.031 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3536, allocations: 4 kB / 1.031 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002742/0.3563, allocations: 2.044 MB / 1.033 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.513e-06/0.3564, allocations: 112 / 1.033 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001455/0.3578, allocations: 0.613 MB / 1.033 GB, free: 2.809 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.0004212/0.3583, allocations: 170 kB / 1.034 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004604/0.3629, allocations: 2.815 MB / 1.036 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3629, allocations: 7.938 kB / 1.036 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.365, allocations: 1.036 MB / 1.037 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.3674, allocations: 0.6767 MB / 1.038 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.3727, allocations: 4.132 MB / 1.042 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.3742, allocations: 1.915 MB / 1.044 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.3751, allocations: 329.9 kB / 1.044 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.3755, allocations: 91.44 kB / 1.044 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3755, allocations: 0 / 1.044 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.4304/0.8059, allocations: 42 MB / 1.085 GB, free: 126.6 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 gbode -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