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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001497/0.001497, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001437/0.001437, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.91 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9772/0.979, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008554/0.9876, allocations: 7.229 MB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008235/0.9959, allocations: 5.553 MB / 1.18 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.9973, allocations: 55.69 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004971/1.002, allocations: 1.687 MB / 1.182 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/1.004, allocations: 0.6282 MB / 1.182 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/1.006, allocations: 376.9 kB / 1.183 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003824/1.01, allocations: 2.945 MB / 1.185 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/1.01, allocations: 0.5527 MB / 1.186 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/1.013, allocations: 1.102 MB / 1.187 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/1.015, allocations: 1.616 MB / 1.189 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008574/1.016, allocations: 200 kB / 1.189 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/1.018, allocations: 319.8 kB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/1.019, allocations: 0.7049 MB / 1.19 GB, free: 12.74 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002003/1.021, allocations: 1.205 MB / 1.191 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003859/1.025, allocations: 3.672 MB / 1.195 GB, free: 7.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.025, allocations: 0 / 1.195 GB, free: 7.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/1.025, allocations: 0 / 1.195 GB, free: 7.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.205e-05/1.025, allocations: 4 kB / 1.195 GB, free: 7.84 MB / 0.92 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.007371/1.032, allocations: 3.456 MB / 1.198 GB, free: 4.312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.032, allocations: 8.625 kB / 1.198 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/1.033, allocations: 245.9 kB / 1.198 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/1.036, allocations: 1.991 MB / 1.2 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/1.036, allocations: 65 kB / 1.2 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/1.037, allocations: 88 kB / 1.2 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.038, allocations: 0.7091 MB / 1.201 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.038, allocations: 0 / 1.201 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/1.038, allocations: 20 kB / 1.201 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/1.038, allocations: 8 kB / 1.201 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.039, allocations: 0.9797 MB / 1.202 GB, free: 140 kB / 0.92 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.0102/1.049, allocations: 4.491 MB / 1.206 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.051, allocations: 0.7985 MB / 1.207 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/1.051, allocations: 0.502 MB / 1.208 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/1.052, allocations: 4 kB / 1.208 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.052, allocations: 46.44 kB / 1.208 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.996e-06/1.052, allocations: 3.938 kB / 1.208 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.009509/1.061, allocations: 3.473 MB / 1.211 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/1.061, allocations: 59.41 kB / 1.211 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/1.066, allocations: 2.945 MB / 1.214 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/1.066, allocations: 53.7 kB / 1.214 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009626/1.067, allocations: 0.8591 MB / 1.215 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.067, allocations: 157.8 kB / 1.215 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005877/1.068, allocations: 335.5 kB / 1.215 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.068, allocations: 361.9 kB / 1.216 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.07, allocations: 1.37 MB / 1.217 GB, free: 452 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/1.072, allocations: 1.628 MB / 1.219 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/1.075, allocations: 1.922 MB / 1.221 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.075, allocations: 0 / 1.221 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00702/1.082, allocations: 4.093 MB / 1.224 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.082, allocations: 4 kB / 1.225 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.082, allocations: 0 / 1.225 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/1.085, allocations: 1.105 MB / 1.226 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.086, allocations: 223.7 kB / 1.226 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.099, allocations: 7.939 MB / 1.234 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.101, allocations: 270 kB / 1.234 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/1.101, allocations: 40 kB / 1.234 GB, free: 15.04 MB / 0.9669 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.001597/1.103, allocations: 0.8056 MB / 1.235 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/1.103, allocations: 209.3 kB / 1.235 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000632/1.104, allocations: 254.7 kB / 1.235 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.104, allocations: 4 kB / 1.235 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/1.104, allocations: 12 kB / 1.235 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.104, allocations: 3.984 kB / 1.235 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/1.106, allocations: 1.228 MB / 1.236 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.106, allocations: 0 / 1.236 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/1.106, allocations: 7.984 kB / 1.236 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/1.109, allocations: 1.02 MB / 1.237 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/1.109, allocations: 11.98 kB / 1.237 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.121, allocations: 7.92 MB / 1.245 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.121, allocations: 4 kB / 1.245 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/1.125, allocations: 1.96 MB / 1.247 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.126, allocations: 442 kB / 1.247 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/1.127, allocations: 8 kB / 1.247 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/1.127, allocations: 35.81 kB / 1.247 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.128, allocations: 39.94 kB / 1.247 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/1.128, allocations: 8 kB / 1.247 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003701/1.131, allocations: 2.036 MB / 1.249 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.131, allocations: 3.938 kB / 1.249 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002154/1.134, allocations: 0.6131 MB / 1.25 GB, free: 14.16 MB / 0.9825 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.0004682/1.134, allocations: 161.7 kB / 1.25 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005234/1.139, allocations: 2.811 MB / 1.253 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.139, allocations: 4 kB / 1.253 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.142, allocations: 1.024 MB / 1.254 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.145, allocations: 0.6651 MB / 1.255 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/1.151, allocations: 3.949 MB / 1.258 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.153, allocations: 1.793 MB / 1.26 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/1.154, allocations: 87.44 kB / 1.26 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of SimCode: time 7.22e-07/1.154, allocations: 0 / 1.26 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.0627/1.216, allocations: 45.93 MB / 1.305 GB, free: 5.848 MB / 1.029 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 -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