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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007456/0.007456, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.001683/0.001683, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 71.09 kB / 0.9505 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2798, allocations: 140.4 MB / 1.088 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.01166/0.2915, allocations: 7.245 MB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3027, allocations: 5.529 MB / 1.1 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.3047, allocations: 59.69 kB / 1.1 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006309/0.3111, allocations: 1.687 MB / 1.102 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.314, allocations: 0.6205 MB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3158, allocations: 380.8 kB / 1.103 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004897/0.3207, allocations: 2.953 MB / 1.106 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.3218, allocations: 0.541 MB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.3242, allocations: 1.102 MB / 1.107 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.3272, allocations: 1.616 MB / 1.109 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000687/0.3279, allocations: 196 kB / 1.109 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.3289, allocations: 323.8 kB / 1.109 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.3298, allocations: 0.7049 MB / 1.11 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.3319, allocations: 1.205 MB / 1.111 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.3372, allocations: 3.672 MB / 1.115 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3372, allocations: 0 / 1.115 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3372, allocations: 0 / 1.115 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.961e-05/0.3373, allocations: 0 / 1.115 GB, free: 5.941 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.01065/0.348, allocations: 3.464 MB / 1.118 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.348, allocations: 8.031 kB / 1.118 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.3482, allocations: 90.7 kB / 1.118 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.3488, allocations: 245.9 kB / 1.118 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.3541, allocations: 1.987 MB / 1.12 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.3543, allocations: 68.92 kB / 1.12 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.3546, allocations: 92 kB / 1.121 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.3562, allocations: 0.7091 MB / 1.121 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3563, allocations: 0 / 1.121 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.3564, allocations: 20 kB / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3564, allocations: 12 kB / 1.121 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.3586, allocations: 0.9797 MB / 1.122 GB, free: 14.12 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.01575/0.3744, allocations: 4.484 MB / 1.127 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.3764, allocations: 0.7976 MB / 1.127 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.3774, allocations: 0.4934 MB / 1.128 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3774, allocations: 11.89 kB / 1.128 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3775, allocations: 42.5 kB / 1.128 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 3.947e-06/0.3775, allocations: 0 / 1.128 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.01482/0.3923, allocations: 3.462 MB / 1.131 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3924, allocations: 59.34 kB / 1.131 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006029/0.3985, allocations: 2.941 MB / 1.134 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005128/0.399, allocations: 57.7 kB / 1.134 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.4003, allocations: 0.8629 MB / 1.135 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.4006, allocations: 157.8 kB / 1.135 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008616/0.4015, allocations: 335.5 kB / 1.136 GB, free: 192 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.4017, allocations: 357.9 kB / 1.136 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.4046, allocations: 1.37 MB / 1.137 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/0.4075, allocations: 1.628 MB / 1.139 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.41, allocations: 1.922 MB / 1.141 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.41, allocations: 7.938 kB / 1.141 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007054/0.4171, allocations: 4.086 MB / 1.145 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4171, allocations: 8 kB / 1.145 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4171, allocations: 0 / 1.145 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/0.4202, allocations: 1.101 MB / 1.146 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.4214, allocations: 231.7 kB / 1.146 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.4325, allocations: 7.953 MB / 1.154 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.4346, allocations: 262.1 kB / 1.154 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.4348, allocations: 40 kB / 1.154 GB, free: 13.04 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.001146/0.4359, allocations: 0.8061 MB / 1.155 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.4362, allocations: 213.1 kB / 1.155 GB, free: 12.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.4366, allocations: 250.7 kB / 1.155 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4366, allocations: 4 kB / 1.155 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/0.4367, allocations: 8 kB / 1.155 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4367, allocations: 3.984 kB / 1.155 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.438, allocations: 1.236 MB / 1.157 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.438, allocations: 0 / 1.157 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.4381, allocations: 4.094 kB / 1.157 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.441, allocations: 1.023 MB / 1.158 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.441, allocations: 8 kB / 1.158 GB, free: 9.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.4521, allocations: 7.92 MB / 1.165 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4521, allocations: 112 / 1.165 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.4559, allocations: 1.964 MB / 1.167 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/0.4568, allocations: 446 kB / 1.168 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.457, allocations: 4 kB / 1.168 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.4576, allocations: 27.97 kB / 1.168 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4577, allocations: 39.94 kB / 1.168 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.4577, allocations: 8 kB / 1.168 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002719/0.4605, allocations: 2.044 MB / 1.17 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4605, allocations: 0 / 1.17 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001621/0.4621, allocations: 0.6063 MB / 1.17 GB, free: 12.17 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.004202/0.4663, allocations: 2.574 MB / 1.173 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004979/0.4713, allocations: 2.815 MB / 1.176 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4713, allocations: 0 / 1.176 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.4735, allocations: 1.04 MB / 1.177 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.476, allocations: 0.6715 MB / 1.177 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/0.5128, allocations: 25.21 MB / 1.202 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.5144, allocations: 1.911 MB / 1.204 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001018/0.5154, allocations: 329.8 kB / 1.204 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000908/0.5163, allocations: 0.7063 MB / 1.205 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of SimCode: time 8.62e-07/0.5163, allocations: 0 / 1.205 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5848/1.101, allocations: 63.23 MB / 1.266 GB, free: 160.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.35, allocations: 10.41 kB / 1.266 GB, free: 160.2 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > 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