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.005083/0.005083, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.00115/0.00115, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 4.141 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.123/2.123, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 62.56 kB / 0.9505 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2628, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007705/0.2706, allocations: 7.234 MB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007412/0.278, allocations: 5.54 MB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.2793, allocations: 43.75 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.2836, allocations: 1.687 MB / 1.102 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.2856, allocations: 0.6204 MB / 1.102 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2869, allocations: 396.7 kB / 1.103 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.2901, allocations: 2.942 MB / 1.106 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007758/0.2909, allocations: 0.5449 MB / 1.106 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.2925, allocations: 1.078 MB / 1.107 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.2947, allocations: 1.612 MB / 1.109 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006052/0.2953, allocations: 196 kB / 1.109 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.2963, allocations: 327.8 kB / 1.109 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.2969, allocations: 0.701 MB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.2981, allocations: 1.205 MB / 1.111 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.3009, allocations: 3.676 MB / 1.115 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3009, allocations: 0 / 1.115 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.532e-06/0.301, allocations: 0 / 1.115 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.301, allocations: 0 / 1.115 GB, free: 6.055 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.006167/0.3071, allocations: 3.456 MB / 1.118 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3072, allocations: 8.031 kB / 1.118 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.58e-05/0.3073, allocations: 94.7 kB / 1.118 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.3077, allocations: 241.9 kB / 1.118 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.3107, allocations: 1.987 MB / 1.12 GB, free: 132 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.3107, allocations: 65 kB / 1.12 GB, free: 68 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.3109, allocations: 88.05 kB / 1.12 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.3119, allocations: 0.7168 MB / 1.121 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3119, allocations: 0 / 1.121 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.312, allocations: 19.94 kB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.312, allocations: 12 kB / 1.121 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3133, allocations: 0.9758 MB / 1.122 GB, free: 14.25 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.009843/0.3231, allocations: 4.491 MB / 1.127 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3244, allocations: 0.7922 MB / 1.127 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.325, allocations: 0.4934 MB / 1.128 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.3251, allocations: 7.953 kB / 1.128 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3251, allocations: 46.5 kB / 1.128 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.485e-06/0.3251, allocations: 0 / 1.128 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.00913/0.3342, allocations: 3.466 MB / 1.131 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3343, allocations: 63.34 kB / 1.131 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.3378, allocations: 2.948 MB / 1.134 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.3381, allocations: 49.7 kB / 1.134 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.3388, allocations: 0.8629 MB / 1.135 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.339, allocations: 157.8 kB / 1.135 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/0.3395, allocations: 335.4 kB / 1.136 GB, free: 312 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3397, allocations: 365.9 kB / 1.136 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.3414, allocations: 1.37 MB / 1.137 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.3433, allocations: 1.624 MB / 1.139 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.3457, allocations: 1.918 MB / 1.141 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3457, allocations: 0 / 1.141 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006598/0.3523, allocations: 4.09 MB / 1.145 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3524, allocations: 11.94 kB / 1.145 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3524, allocations: 4 kB / 1.145 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.3553, allocations: 1.101 MB / 1.146 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.3565, allocations: 223.7 kB / 1.146 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.368, allocations: 7.953 MB / 1.154 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.3703, allocations: 254.1 kB / 1.154 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/0.3707, allocations: 43.98 kB / 1.154 GB, free: 13.16 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.001504/0.3722, allocations: 0.8022 MB / 1.155 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.3727, allocations: 213.1 kB / 1.155 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.3733, allocations: 254.7 kB / 1.155 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3733, allocations: 11.98 kB / 1.155 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/0.3733, allocations: 4 kB / 1.155 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3733, allocations: 8 kB / 1.155 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.3747, allocations: 1.224 MB / 1.156 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3747, allocations: 4 kB / 1.157 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.3748, allocations: 3.938 kB / 1.157 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/0.3776, allocations: 1.027 MB / 1.158 GB, free: 9.547 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.3777, allocations: 12 kB / 1.158 GB, free: 9.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.389, allocations: 7.916 MB / 1.165 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.389, allocations: 0 / 1.165 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/0.3928, allocations: 1.96 MB / 1.167 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/0.3937, allocations: 438.2 kB / 1.168 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.3941, allocations: 11.92 kB / 1.168 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/0.3948, allocations: 31.97 kB / 1.168 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.395, allocations: 35.94 kB / 1.168 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.395, allocations: 12 kB / 1.168 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002623/0.3976, allocations: 2.036 MB / 1.17 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3976, allocations: 0 / 1.17 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001598/0.3993, allocations: 0.6131 MB / 1.17 GB, free: 12.29 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.003939/0.4032, allocations: 2.572 MB / 1.173 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004673/0.4079, allocations: 2.811 MB / 1.176 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4079, allocations: 0 / 1.176 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.4101, allocations: 1.044 MB / 1.177 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.413, allocations: 0.6731 MB / 1.177 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03909/0.4521, allocations: 25.21 MB / 1.202 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.4539, allocations: 1.907 MB / 1.204 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009092/0.4549, allocations: 329.9 kB / 1.204 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008784/0.4558, allocations: 0.7141 MB / 1.205 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.4558, allocations: 0 / 1.205 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5971/1.053, allocations: 62.17 MB / 1.265 GB, free: 159.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.65, allocations: 9.625 kB / 1.265 GB, free: 159.1 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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