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.001204/0.001204, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001294/0.001294, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.099/2.099, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5125, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005527/0.5181, allocations: 7.179 MB / 0.9561 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005534/0.5236, allocations: 5.465 MB / 0.9614 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000695/0.5244, allocations: 39.22 kB / 0.9615 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.5278, allocations: 1.611 MB / 0.9631 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.529, allocations: 0.5469 MB / 0.9636 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009128/0.53, allocations: 344.1 kB / 0.9639 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.5327, allocations: 2.955 MB / 0.9668 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.5333, allocations: 0.5445 MB / 0.9673 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.535, allocations: 1.106 MB / 0.9684 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.5367, allocations: 1.641 MB / 0.97 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.537, allocations: 201.8 kB / 0.9702 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.5376, allocations: 321.8 kB / 0.9705 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005608/0.5382, allocations: 0.7006 MB / 0.9712 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.5393, allocations: 1.213 MB / 0.9724 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.5421, allocations: 3.435 MB / 0.9757 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5421, allocations: 0 / 0.9757 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5421, allocations: 4 kB / 0.9757 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.446e-05/0.5421, allocations: 0 / 0.9757 GB, free: 6.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.0061/0.5482, allocations: 3.398 MB / 0.9791 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5483, allocations: 15.97 kB / 0.9791 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.5486, allocations: 241.9 kB / 0.9793 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.5512, allocations: 1.882 MB / 0.9811 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.5513, allocations: 61 kB / 0.9812 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.5515, allocations: 88 kB / 0.9813 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5525, allocations: 0.7246 MB / 0.982 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5525, allocations: 0 / 0.982 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.5526, allocations: 16 kB / 0.982 GB, free: 116 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.5526, allocations: 12 kB / 0.982 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.554, allocations: 0.9759 MB / 0.983 GB, free: 15.12 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.008526/0.5625, allocations: 4.522 MB / 0.9874 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.5637, allocations: 0.7903 MB / 0.9882 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.5642, allocations: 0.4927 MB / 0.9886 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.5643, allocations: 8.719 kB / 0.9887 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5643, allocations: 38.5 kB / 0.9887 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.583e-06/0.5643, allocations: 0 / 0.9887 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.008626/0.5729, allocations: 3.474 MB / 0.9921 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.573, allocations: 67.3 kB / 0.9921 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/0.5762, allocations: 2.972 MB / 0.995 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.5765, allocations: 57.64 kB / 0.9951 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.5772, allocations: 0.8591 MB / 0.9959 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.5774, allocations: 169.7 kB / 0.9961 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/0.578, allocations: 331.5 kB / 0.9964 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5781, allocations: 361.9 kB / 0.9968 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.5798, allocations: 1.37 MB / 0.9981 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.5818, allocations: 1.62 MB / 0.9997 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.5841, allocations: 1.922 MB / 1.002 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5841, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006321/0.5904, allocations: 4.09 MB / 1.006 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.5905, allocations: 4 kB / 1.006 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5905, allocations: 4 kB / 1.006 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.5934, allocations: 1.112 MB / 1.007 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5945, allocations: 219.7 kB / 1.007 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.605, allocations: 7.964 MB / 1.015 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.6071, allocations: 262 kB / 1.015 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.6072, allocations: 44 kB / 1.015 GB, free: 13.96 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.00118/0.6084, allocations: 0.8023 MB / 1.016 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.6087, allocations: 221.1 kB / 1.016 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.6091, allocations: 254.7 kB / 1.016 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6091, allocations: 4 kB / 1.016 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/0.6091, allocations: 8.109 kB / 1.016 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6091, allocations: 7.922 kB / 1.016 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.6105, allocations: 1.232 MB / 1.017 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6105, allocations: 3.984 kB / 1.017 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.6105, allocations: 4 kB / 1.017 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002723/0.6133, allocations: 1.027 MB / 1.018 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.6133, allocations: 8 kB / 1.018 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.6237, allocations: 7.932 MB / 1.026 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6237, allocations: 0 / 1.026 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.6272, allocations: 1.949 MB / 1.028 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.6279, allocations: 454 kB / 1.028 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6281, allocations: 12 kB / 1.029 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.6287, allocations: 35.81 kB / 1.029 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.6288, allocations: 39.88 kB / 1.029 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.6288, allocations: 12 kB / 1.029 GB, free: 15.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002474/0.6313, allocations: 2.059 MB / 1.031 GB, free: 13.64 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6313, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001609/0.6329, allocations: 0.6093 MB / 1.031 GB, free: 13.03 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.0003381/0.6333, allocations: 171.1 kB / 1.031 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004364/0.6377, allocations: 2.812 MB / 1.034 GB, free: 10.04 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6377, allocations: 0 / 1.034 GB, free: 10.04 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.6397, allocations: 1.036 MB / 1.035 GB, free: 8.996 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.6419, allocations: 0.6843 MB / 1.036 GB, free: 8.328 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.6471, allocations: 4.679 MB / 1.04 GB, free: 3.625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.6485, allocations: 1.912 MB / 1.042 GB, free: 1.68 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009871/0.6495, allocations: 379.4 kB / 1.043 GB, free: 1.305 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.6498, allocations: 103.4 kB / 1.043 GB, free: 1.203 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.6498, allocations: 3.938 kB / 1.043 GB, free: 1.199 MB / 0.795 GB Notification: Performance of Templates: time 0.05669/0.7065, allocations: 42.62 MB / 1.084 GB, free: 7.016 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