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.0008504/0.0008503, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005/0.005, allocations: 171.5 kB / 16.26 MB, free: 6.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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.062/2.062, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5245, allocations: 142.4 MB / 0.955 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005208/0.5297, allocations: 6.755 MB / 0.9616 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007004/0.5368, allocations: 5.408 MB / 0.9669 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.538, allocations: 33.19 kB / 0.9669 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.5422, allocations: 1.589 MB / 0.9685 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.5439, allocations: 0.5455 MB / 0.969 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.5449, allocations: 335 kB / 0.9694 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003296/0.5482, allocations: 3.123 MB / 0.9724 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.5489, allocations: 0.5113 MB / 0.9729 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.5502, allocations: 0.9736 MB / 0.9739 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.5518, allocations: 1.542 MB / 0.9754 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.552, allocations: 120.5 kB / 0.9755 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.5526, allocations: 236.3 kB / 0.9757 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.5531, allocations: 0.626 MB / 0.9763 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.5542, allocations: 1.142 MB / 0.9774 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.5566, allocations: 3.191 MB / 0.9805 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5566, allocations: 0 / 0.9805 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5566, allocations: 0 / 0.9805 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.5566, allocations: 0 / 0.9805 GB, free: 5.137 MB / 0.7325 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.00626/0.5629, allocations: 3.539 MB / 0.984 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.5629, allocations: 8.031 kB / 0.984 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.5633, allocations: 241.9 kB / 0.9842 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.5658, allocations: 1.882 MB / 0.9861 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.5658, allocations: 61 kB / 0.9861 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.566, allocations: 88 kB / 0.9862 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.567, allocations: 0.7169 MB / 0.9869 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.567, allocations: 0 / 0.9869 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.5671, allocations: 16 kB / 0.9869 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5671, allocations: 15.98 kB / 0.9869 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.5684, allocations: 0.9797 MB / 0.9879 GB, free: 13.45 MB / 0.7481 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.009985/0.5784, allocations: 5.103 MB / 0.9929 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5796, allocations: 0.7824 MB / 0.9937 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.5802, allocations: 0.4927 MB / 0.9941 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.5802, allocations: 4.719 kB / 0.9941 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.5803, allocations: 50.48 kB / 0.9942 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.623e-06/0.5803, allocations: 0 / 0.9942 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.009052/0.5893, allocations: 3.529 MB / 0.9976 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.5894, allocations: 59.36 kB / 0.9977 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.5926, allocations: 2.976 MB / 1.001 GB, free: 240 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.5928, allocations: 49.7 kB / 1.001 GB, free: 184 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/0.5936, allocations: 0.8668 MB / 1.001 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5937, allocations: 157.8 kB / 1.002 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.594, allocations: 165.6 kB / 1.002 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5941, allocations: 357.9 kB / 1.002 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.5958, allocations: 1.378 MB / 1.003 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.5978, allocations: 1.624 MB / 1.005 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.6002, allocations: 1.918 MB / 1.007 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6002, allocations: 0 / 1.007 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006365/0.6066, allocations: 4.09 MB / 1.011 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6066, allocations: 5.406 kB / 1.011 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6066, allocations: 0 / 1.011 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.6096, allocations: 1.112 MB / 1.012 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6107, allocations: 223.7 kB / 1.012 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.621, allocations: 7.366 MB / 1.019 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.6227, allocations: 266 kB / 1.02 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.6228, allocations: 44 kB / 1.02 GB, free: 12.42 MB / 0.7794 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.001082/0.6239, allocations: 0.7978 MB / 1.021 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.6241, allocations: 221.1 kB / 1.021 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.6246, allocations: 254.7 kB / 1.021 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6246, allocations: 4 kB / 1.021 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.6246, allocations: 12 kB / 1.021 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6246, allocations: 0 / 1.021 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.6259, allocations: 1.232 MB / 1.022 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6259, allocations: 3.938 kB / 1.022 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.626, allocations: 4 kB / 1.022 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002815/0.6288, allocations: 1.023 MB / 1.023 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.6288, allocations: 4 kB / 1.023 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.639, allocations: 7.333 MB / 1.03 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6391, allocations: 0 / 1.03 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.6426, allocations: 1.966 MB / 1.032 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.6432, allocations: 446 kB / 1.033 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.6433, allocations: 8 kB / 1.033 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.6439, allocations: 31.88 kB / 1.033 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.644, allocations: 43.88 kB / 1.033 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.6441, allocations: 12 kB / 1.033 GB, free: 14.79 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002448/0.6465, allocations: 2.052 MB / 1.035 GB, free: 12.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6465, allocations: 0 / 1.035 GB, free: 12.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001343/0.6479, allocations: 0.6219 MB / 1.035 GB, free: 12.11 MB / 0.795 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.0003501/0.6482, allocations: 165.8 kB / 1.036 GB, free: 11.94 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004367/0.6526, allocations: 2.835 MB / 1.038 GB, free: 9.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6526, allocations: 0 / 1.038 GB, free: 9.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.6547, allocations: 1.071 MB / 1.039 GB, free: 8.016 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.657, allocations: 0.6198 MB / 1.04 GB, free: 7.402 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.662, allocations: 4.717 MB / 1.045 GB, free: 2.656 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.6633, allocations: 1.911 MB / 1.046 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006847/0.664, allocations: 321.6 kB / 1.047 GB, free: 400 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.6643, allocations: 87.44 kB / 1.047 GB, free: 312 kB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.6643, allocations: 0 / 1.047 GB, free: 312 kB / 0.795 GB Notification: Performance of Templates: time 0.05308/0.7174, allocations: 39.98 MB / 1.086 GB, free: 8.723 MB / 0.8419 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