Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.00687/0.00687, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001648/0.001648, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.434/2.434, allocations: 469.4 MB / 0.7421 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7227, allocations: 159.1 MB / 1.22 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007995/0.7308, allocations: 7.324 MB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006935/0.7377, allocations: 5.206 MB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.739, allocations: 51.75 kB / 1.232 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004265/0.7433, allocations: 1.68 MB / 1.234 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.7451, allocations: 0.6088 MB / 1.234 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.7459, allocations: 227.5 kB / 1.235 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.7482, allocations: 1.764 MB / 1.236 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007735/0.749, allocations: 0.5853 MB / 1.237 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009461/0.7499, allocations: 0.6997 MB / 1.238 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.7511, allocations: 0.8084 MB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.7513, allocations: 80 kB / 1.238 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.7519, allocations: 195.8 kB / 1.239 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.7523, allocations: 334.5 kB / 1.239 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.7533, allocations: 0.7882 MB / 1.24 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.7559, allocations: 2.447 MB / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7559, allocations: 0 / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7559, allocations: 0 / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-05/0.756, allocations: 0 / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003657/0.7596, allocations: 2.319 MB / 1.244 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7597, allocations: 11.97 kB / 1.244 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.7598, allocations: 82.7 kB / 1.244 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.7601, allocations: 211.5 kB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.763, allocations: 1.694 MB / 1.246 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.763, allocations: 32.92 kB / 1.246 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.7631, allocations: 36 kB / 1.246 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.7638, allocations: 442.3 kB / 1.247 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7638, allocations: 0 / 1.247 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.7638, allocations: 19.97 kB / 1.247 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.7639, allocations: 17 kB / 1.247 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/0.7645, allocations: 431.6 kB / 1.247 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.7678, allocations: 2.3 MB / 1.249 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.7687, allocations: 0.5045 MB / 1.25 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.769, allocations: 205.2 kB / 1.25 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.7691, allocations: 4.281 kB / 1.25 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.7691, allocations: 38.84 kB / 1.25 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.7691, allocations: 0 / 1.25 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0009856/0.7701, allocations: 0.6464 MB / 1.251 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.7701, allocations: 67.34 kB / 1.251 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.7734, allocations: 2.559 MB / 1.253 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.7735, allocations: 29.7 kB / 1.253 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000677/0.7742, allocations: 0.7646 MB / 1.254 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.7743, allocations: 122.9 kB / 1.254 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.7744, allocations: 69.64 kB / 1.254 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.7745, allocations: 322.5 kB / 1.255 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.7747, allocations: 135.9 kB / 1.255 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.7749, allocations: 186.5 kB / 1.255 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.7754, allocations: 316.7 kB / 1.255 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7754, allocations: 0 / 1.255 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007639/0.7761, allocations: 0.5434 MB / 1.256 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7762, allocations: 4 kB / 1.256 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7762, allocations: 3.938 kB / 1.256 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7762, allocations: 0 / 1.256 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.7765, allocations: 79.95 kB / 1.256 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7765, allocations: 4.031 kB / 1.256 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.777, allocations: 31.72 kB / 1.256 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.777, allocations: 4 kB / 1.256 GB, free: 12.78 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007079/0.7777, allocations: 0.6892 MB / 1.257 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.778, allocations: 194.7 kB / 1.257 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.7783, allocations: 219.2 kB / 1.257 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7783, allocations: 7.938 kB / 1.257 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7783, allocations: 3.984 kB / 1.257 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7783, allocations: 3.938 kB / 1.257 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.7803, allocations: 1.566 MB / 1.259 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7803, allocations: 4 kB / 1.259 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.7806, allocations: 79.89 kB / 1.259 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7806, allocations: 0 / 1.259 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.7807, allocations: 8 kB / 1.259 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7807, allocations: 4 kB / 1.259 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7807, allocations: 4.031 kB / 1.259 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.7814, allocations: 0.6486 MB / 1.259 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.782, allocations: 383.6 kB / 1.26 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.7822, allocations: 8 kB / 1.26 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.7826, allocations: 11.98 kB / 1.26 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.7826, allocations: 31.84 kB / 1.26 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.7827, allocations: 12 kB / 1.26 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002373/0.785, allocations: 1.831 MB / 1.261 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7851, allocations: 0 / 1.261 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006115/0.7857, allocations: 223.8 kB / 1.262 GB, free: 6.715 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.7869, allocations: 1.277 MB / 1.263 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004966/0.7874, allocations: 323.7 kB / 1.263 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7874, allocations: 0 / 1.263 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.7877, allocations: 175.8 kB / 1.263 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.7899, allocations: 0.6162 MB / 1.264 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.8094, allocations: 14.88 MB / 1.279 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.8109, allocations: 1.754 MB / 1.28 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007751/0.8117, allocations: 311.3 kB / 1.281 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/0.8124, allocations: 0.5891 MB / 1.281 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8124, allocations: 0 / 1.281 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06625/0.8787, allocations: 39.79 MB / 1.32 GB, free: 11.28 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.927/10.81, allocations: 7.828 kB / 1.32 GB, free: 11.28 MB / 1.045 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches