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.00727/0.00727, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001696/0.001696, allocations: 195.3 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.206/1.206, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.01/2.01, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.84 kB / 0.9505 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6619, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006692/0.6686, allocations: 7.239 MB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008496/0.6772, allocations: 5.54 MB / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.6786, allocations: 51.62 kB / 1.1 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004518/0.6831, allocations: 1.697 MB / 1.102 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.6851, allocations: 0.6319 MB / 1.102 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.6863, allocations: 379.7 kB / 1.103 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.69, allocations: 2.946 MB / 1.106 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.6907, allocations: 0.5399 MB / 1.106 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.6926, allocations: 1.114 MB / 1.107 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.6947, allocations: 1.615 MB / 1.109 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.6952, allocations: 195.5 kB / 1.109 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.6959, allocations: 314 kB / 1.109 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.6967, allocations: 0.7048 MB / 1.11 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.6982, allocations: 1.211 MB / 1.111 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004639/0.7028, allocations: 3.689 MB / 1.115 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7028, allocations: 4 kB / 1.115 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7029, allocations: 0 / 1.115 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.938e-05/0.7029, allocations: 0 / 1.115 GB, free: 5.777 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.008556/0.7115, allocations: 3.526 MB / 1.118 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.7115, allocations: 13.12 kB / 1.118 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.7117, allocations: 87.17 kB / 1.118 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.7122, allocations: 261.7 kB / 1.119 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/0.7162, allocations: 2.004 MB / 1.121 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.7163, allocations: 62.69 kB / 1.121 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.7165, allocations: 91.34 kB / 1.121 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.7177, allocations: 0.7159 MB / 1.121 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.7177, allocations: 0 / 1.121 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.7178, allocations: 23.75 kB / 1.121 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.7178, allocations: 11.56 kB / 1.121 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.7193, allocations: 0.9777 MB / 1.122 GB, free: 2.188 MB / 0.8731 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.01158/0.7309, allocations: 4.493 MB / 1.127 GB, free: 472 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.7323, allocations: 0.7879 MB / 1.127 GB, free: 216 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.733, allocations: 0.495 MB / 1.128 GB, free: 60 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.733, allocations: 8.203 kB / 1.128 GB, free: 56 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.7331, allocations: 45.33 kB / 1.128 GB, free: 4 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/0.7331, allocations: 0 / 1.128 GB, free: 4 kB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.01023/0.7433, allocations: 3.487 MB / 1.131 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.7434, allocations: 60.72 kB / 1.131 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/0.7482, allocations: 2.945 MB / 1.134 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005575/0.7487, allocations: 52.11 kB / 1.134 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000954/0.7497, allocations: 0.8563 MB / 1.135 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.7499, allocations: 170.5 kB / 1.135 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/0.7506, allocations: 330 kB / 1.136 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7507, allocations: 372.9 kB / 1.136 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.7528, allocations: 1.371 MB / 1.137 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.755, allocations: 1.623 MB / 1.139 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.7578, allocations: 1.922 MB / 1.141 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.7578, allocations: 0 / 1.141 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007405/0.7652, allocations: 4.102 MB / 1.145 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.7653, allocations: 4.781 kB / 1.145 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7653, allocations: 4.984 kB / 1.145 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/0.7683, allocations: 1.101 MB / 1.146 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.7696, allocations: 226.2 kB / 1.146 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.7811, allocations: 7.968 MB / 1.154 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.7838, allocations: 267.1 kB / 1.154 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.7841, allocations: 45.84 kB / 1.154 GB, free: 3.008 MB / 0.8887 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.001391/0.7855, allocations: 0.8014 MB / 1.155 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.7858, allocations: 226.5 kB / 1.155 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.7862, allocations: 259.6 kB / 1.156 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.7863, allocations: 5 kB / 1.156 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/0.7863, allocations: 7.844 kB / 1.156 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7863, allocations: 0 / 1.156 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7879, allocations: 1.228 MB / 1.157 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7879, allocations: 1.312 kB / 1.157 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.788, allocations: 2.25 kB / 1.157 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/0.7908, allocations: 1.027 MB / 1.158 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.7909, allocations: 5.344 kB / 1.158 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.8023, allocations: 7.946 MB / 1.166 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8024, allocations: 96 / 1.166 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/0.8063, allocations: 1.971 MB / 1.167 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.8074, allocations: 452.8 kB / 1.168 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.8076, allocations: 6.25 kB / 1.168 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.8083, allocations: 33.36 kB / 1.168 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.8084, allocations: 37.69 kB / 1.168 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.8085, allocations: 11.34 kB / 1.168 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002932/0.8114, allocations: 2.042 MB / 1.17 GB, free: 9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8114, allocations: 0 / 1.17 GB, free: 9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002104/0.8135, allocations: 0.6091 MB / 1.171 GB, free: 8.391 MB / 0.9044 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.004083/0.8176, allocations: 2.578 MB / 1.173 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005149/0.8228, allocations: 2.826 MB / 1.176 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8228, allocations: 0 / 1.176 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.8249, allocations: 1.028 MB / 1.177 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.8276, allocations: 0.6809 MB / 1.177 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/0.8644, allocations: 25.28 MB / 1.202 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.8659, allocations: 1.915 MB / 1.204 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001047/0.8669, allocations: 329.8 kB / 1.204 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009457/0.8679, allocations: 0.7102 MB / 1.205 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of SimCode: time 3.086e-06/0.8679, allocations: 0 / 1.205 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09254/0.9604, allocations: 62.19 MB / 1.266 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.57, allocations: 10.53 kB / 1.266 GB, free: 7.262 MB / 0.9981 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