Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_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.002172/0.002173, 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.003448/0.003447, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.427/2.427, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.573/4.573, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 64.56 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4233, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.01422/0.4376, allocations: 7.192 MB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4489, allocations: 5.473 MB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.4511, allocations: 35.81 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007198/0.4584, allocations: 1.598 MB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.4618, allocations: 0.5434 MB / 1.067 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.4638, allocations: 346.5 kB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005328/0.4691, allocations: 2.957 MB / 1.07 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.4704, allocations: 0.5488 MB / 1.071 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.4731, allocations: 1.105 MB / 1.072 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.4763, allocations: 1.639 MB / 1.073 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.4774, allocations: 200 kB / 1.074 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.4792, allocations: 323.8 kB / 1.074 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.4806, allocations: 0.7011 MB / 1.075 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003104/0.4837, allocations: 1.213 MB / 1.076 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.4893, allocations: 3.435 MB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4893, allocations: 0 / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.006e-06/0.4893, allocations: 0 / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.527e-05/0.4894, allocations: 4 kB / 1.079 GB, free: 13.2 MB / 0.8419 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.01114/0.5006, allocations: 3.401 MB / 1.082 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.5007, allocations: 12.62 kB / 1.082 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.5009, allocations: 90.7 kB / 1.082 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.5016, allocations: 245.9 kB / 1.083 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.5062, allocations: 1.882 MB / 1.085 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.5063, allocations: 65 kB / 1.085 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.5066, allocations: 88 kB / 1.085 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5082, allocations: 0.7169 MB / 1.085 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5082, allocations: 7.922 kB / 1.085 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.5083, allocations: 16 kB / 1.085 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.5083, allocations: 12 kB / 1.085 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.5105, allocations: 0.9797 MB / 1.086 GB, free: 5.543 MB / 0.8419 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.01548/0.5259, allocations: 4.523 MB / 1.091 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.5278, allocations: 0.7846 MB / 1.092 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009115/0.5288, allocations: 0.5005 MB / 1.092 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.5288, allocations: 4.719 kB / 1.092 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.5289, allocations: 42.5 kB / 1.092 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 3.908e-06/0.5289, allocations: 0 / 1.092 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.01379/0.5427, allocations: 3.461 MB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.5428, allocations: 63.3 kB / 1.096 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006887/0.5497, allocations: 2.964 MB / 1.098 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007274/0.5505, allocations: 53.7 kB / 1.099 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.5517, allocations: 0.8784 MB / 1.099 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.5521, allocations: 153.8 kB / 1.1 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008482/0.5529, allocations: 335.5 kB / 1.1 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5531, allocations: 357.9 kB / 1.1 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.5557, allocations: 1.374 MB / 1.102 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/0.5588, allocations: 1.624 MB / 1.103 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.5626, allocations: 1.918 MB / 1.105 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.5626, allocations: 0 / 1.105 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01039/0.573, allocations: 4.09 MB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.5731, allocations: 4 kB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.5732, allocations: 8 kB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004352/0.5775, allocations: 1.109 MB / 1.11 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.5795, allocations: 219.7 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.5967, allocations: 7.951 MB / 1.118 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.5999, allocations: 270 kB / 1.118 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000621/0.6006, allocations: 40 kB / 1.118 GB, free: 4.402 MB / 0.8731 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.002397/0.603, allocations: 0.8032 MB / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/0.6038, allocations: 221.1 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009758/0.6048, allocations: 254.7 kB / 1.12 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.6049, allocations: 4 kB / 1.12 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.006e-05/0.6049, allocations: 8 kB / 1.12 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6049, allocations: 0 / 1.12 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.6082, allocations: 1.232 MB / 1.121 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.6082, allocations: 3.938 kB / 1.121 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.6083, allocations: 4 kB / 1.121 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/0.6125, allocations: 1.031 MB / 1.122 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.6126, allocations: 8 kB / 1.122 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/0.6303, allocations: 7.935 MB / 1.13 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6303, allocations: 0 / 1.13 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006317/0.6367, allocations: 1.962 MB / 1.131 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/0.6384, allocations: 450 kB / 1.132 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/0.6392, allocations: 4 kB / 1.132 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.6408, allocations: 35.81 kB / 1.132 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/0.6411, allocations: 43.94 kB / 1.132 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.6412, allocations: 8 kB / 1.132 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.006107/0.6473, allocations: 2.059 MB / 1.134 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.173e-06/0.6474, allocations: 0 / 1.134 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003769/0.6512, allocations: 0.621 MB / 1.135 GB, free: 3.469 MB / 0.8887 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.007946/0.6591, allocations: 2.567 MB / 1.137 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009633/0.6688, allocations: 2.819 MB / 1.14 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6689, allocations: 0 / 1.14 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004203/0.6731, allocations: 1.043 MB / 1.141 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/0.6793, allocations: 0.6821 MB / 1.142 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09298/0.7723, allocations: 28.56 MB / 1.169 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/0.7757, allocations: 1.92 MB / 1.171 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002446/0.7781, allocations: 379.4 kB / 1.172 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/0.7802, allocations: 0.718 MB / 1.172 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of SimCode: time 1.693e-06/0.7802, allocations: 0 / 1.172 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.846/7.626, allocations: 62.42 MB / 1.233 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005299/7.627, allocations: 303.3 kB / 1.234 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.878/13.5, allocations: 0 / 1.234 GB, free: 13.21 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches