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.004599/0.004599, allocations: 103.9 kB / 15.73 MB, free: 6.445 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.001142/0.001142, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.196/1.196, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.071/2.071, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 63.22 kB / 0.9509 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2137, allocations: 140.4 MB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00713/0.2209, allocations: 7.242 MB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006998/0.2279, allocations: 5.54 MB / 1.101 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.229, allocations: 47.69 kB / 1.101 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.2329, allocations: 1.687 MB / 1.102 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.2345, allocations: 0.6204 MB / 1.103 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009841/0.2355, allocations: 386 kB / 1.103 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.2383, allocations: 2.935 MB / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.2389, allocations: 0.541 MB / 1.107 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.2404, allocations: 1.113 MB / 1.108 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.2422, allocations: 1.612 MB / 1.109 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.2425, allocations: 200 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.2431, allocations: 315.8 kB / 1.11 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.2437, allocations: 0.701 MB / 1.11 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.2448, allocations: 1.205 MB / 1.112 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.2475, allocations: 3.684 MB / 1.115 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2475, allocations: 0 / 1.115 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2475, allocations: 4 kB / 1.115 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.2476, allocations: 0 / 1.115 GB, free: 5.441 MB / 0.8731 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.006072/0.2537, allocations: 3.456 MB / 1.119 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2537, allocations: 15.97 kB / 1.119 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.254, allocations: 241.9 kB / 1.119 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.2568, allocations: 1.988 MB / 1.121 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.2568, allocations: 61 kB / 1.121 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.257, allocations: 88 kB / 1.121 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.258, allocations: 0.7246 MB / 1.122 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.258, allocations: 0 / 1.122 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.2581, allocations: 16 kB / 1.122 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2581, allocations: 16 kB / 1.122 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2594, allocations: 0.9758 MB / 1.123 GB, free: 13.72 MB / 0.8887 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.00926/0.2687, allocations: 4.491 MB / 1.127 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2698, allocations: 0.7816 MB / 1.128 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.2704, allocations: 0.4934 MB / 1.128 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.2704, allocations: 7.953 kB / 1.128 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2705, allocations: 50.5 kB / 1.128 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 1.533e-06/0.2705, allocations: 0 / 1.128 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.008748/0.2792, allocations: 3.47 MB / 1.132 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2793, allocations: 59.39 kB / 1.132 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.2825, allocations: 2.948 MB / 1.135 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.2826, allocations: 49.7 kB / 1.135 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/0.2834, allocations: 0.859 MB / 1.135 GB, free: 280 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2835, allocations: 161.8 kB / 1.136 GB, free: 116 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/0.2841, allocations: 331.6 kB / 1.136 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2842, allocations: 365.9 kB / 1.136 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.2859, allocations: 1.37 MB / 1.138 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.2879, allocations: 1.62 MB / 1.139 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.2902, allocations: 1.922 MB / 1.141 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2902, allocations: 0 / 1.141 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00635/0.2966, allocations: 4.094 MB / 1.145 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2966, allocations: 4 kB / 1.145 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2966, allocations: 7.828 kB / 1.145 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/0.2996, allocations: 1.101 MB / 1.146 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3007, allocations: 219.7 kB / 1.146 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.3114, allocations: 7.956 MB / 1.154 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.3132, allocations: 254.1 kB / 1.154 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.3134, allocations: 40 kB / 1.154 GB, free: 12.65 MB / 0.92 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.001074/0.3144, allocations: 0.8134 MB / 1.155 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.3147, allocations: 213.1 kB / 1.155 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.315, allocations: 254.7 kB / 1.156 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.315, allocations: 8 kB / 1.156 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.3151, allocations: 4 kB / 1.156 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3151, allocations: 4.094 kB / 1.156 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3164, allocations: 1.228 MB / 1.157 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3164, allocations: 4 kB / 1.157 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.3164, allocations: 3.984 kB / 1.157 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002712/0.3192, allocations: 1.02 MB / 1.158 GB, free: 9.035 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.3192, allocations: 12 kB / 1.158 GB, free: 9.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.3299, allocations: 7.92 MB / 1.166 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3299, allocations: 0 / 1.166 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.3334, allocations: 1.953 MB / 1.168 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000841/0.3342, allocations: 454 kB / 1.168 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.3344, allocations: 11.88 kB / 1.168 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.3351, allocations: 27.97 kB / 1.168 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3352, allocations: 35.94 kB / 1.168 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3352, allocations: 12 kB / 1.168 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002575/0.3378, allocations: 2.044 MB / 1.17 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3378, allocations: 0 / 1.17 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001345/0.3392, allocations: 0.6102 MB / 1.171 GB, free: 11.76 MB / 0.9356 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.0003577/0.3395, allocations: 157.6 kB / 1.171 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004593/0.3441, allocations: 2.812 MB / 1.174 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3441, allocations: 0 / 1.174 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.3462, allocations: 1.051 MB / 1.175 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.3485, allocations: 0.6773 MB / 1.175 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.3537, allocations: 4.108 MB / 1.179 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.3552, allocations: 1.919 MB / 1.181 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008127/0.356, allocations: 333.8 kB / 1.181 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.3564, allocations: 87.44 kB / 1.182 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/0.3564, allocations: 0 / 1.182 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of Templates: time 0.05645/0.4128, allocations: 43.2 MB / 1.224 GB, free: 5.777 MB / 0.9825 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/jenkins/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