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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004697/0.004697, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001593/0.001593, allocations: 201 kB / 16.68 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.88 kB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 162.2 MB / 1.242 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00908/0.287, allocations: 7.335 MB / 1.249 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4956/0.7827, allocations: 5.181 MB / 1.254 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.7839, allocations: 46.06 kB / 1.254 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004208/0.7881, allocations: 1.684 MB / 1.255 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.7897, allocations: 0.6053 MB / 1.256 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.7904, allocations: 221.4 kB / 1.256 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.7922, allocations: 1.762 MB / 1.258 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/0.7929, allocations: 0.5828 MB / 1.259 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.7936, allocations: 0.6687 MB / 1.259 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008338/0.7944, allocations: 0.8094 MB / 1.26 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.7946, allocations: 80 kB / 1.26 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.7951, allocations: 207.4 kB / 1.26 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.7954, allocations: 334.2 kB / 1.261 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.796, allocations: 0.7858 MB / 1.261 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.798, allocations: 2.427 MB / 1.264 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7981, allocations: 4.5 kB / 1.264 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7981, allocations: 1.812 kB / 1.264 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.7981, allocations: 0 / 1.264 GB, free: 4.164 MB / 0.9981 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.002419/0.8005, allocations: 2.323 MB / 1.266 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8005, allocations: 13.73 kB / 1.266 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.8006, allocations: 79.78 kB / 1.266 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.8008, allocations: 213.6 kB / 1.266 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.8029, allocations: 1.696 MB / 1.268 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.803, allocations: 25.14 kB / 1.268 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.803, allocations: 36.34 kB / 1.268 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.8037, allocations: 448 kB / 1.268 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.8037, allocations: 4 kB / 1.268 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.8037, allocations: 12.39 kB / 1.268 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.8038, allocations: 28.33 kB / 1.268 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.8044, allocations: 433.6 kB / 1.269 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.807, allocations: 2.296 MB / 1.271 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.808, allocations: 0.4946 MB / 1.272 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.8083, allocations: 203.4 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.8083, allocations: 4.375 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.8083, allocations: 32.25 kB / 1.272 GB, free: 15.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.8084, allocations: 5.438 kB / 1.272 GB, free: 15.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0009625/0.8093, allocations: 0.6542 MB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.8094, allocations: 54.78 kB / 1.273 GB, free: 15.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.8129, allocations: 2.552 MB / 1.275 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.813, allocations: 32.27 kB / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/0.8138, allocations: 0.7659 MB / 1.276 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.8139, allocations: 121.2 kB / 1.276 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.8141, allocations: 69.94 kB / 1.276 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8142, allocations: 321.9 kB / 1.276 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.8144, allocations: 137.7 kB / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.8147, allocations: 182 kB / 1.277 GB, free: 13.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.8152, allocations: 326.3 kB / 1.277 GB, free: 13.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8152, allocations: 0 / 1.277 GB, free: 13.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000756/0.816, allocations: 0.5387 MB / 1.277 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.816, allocations: 5.016 kB / 1.277 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.816, allocations: 0 / 1.277 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.816, allocations: 2.75 kB / 1.277 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.8164, allocations: 88.09 kB / 1.278 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.8164, allocations: 1.438 kB / 1.278 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.8167, allocations: 33.09 kB / 1.278 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.8168, allocations: 9.5 kB / 1.278 GB, free: 12.98 MB / 1.014 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.0008082/0.8176, allocations: 0.6872 MB / 1.278 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.8178, allocations: 196.1 kB / 1.278 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.8182, allocations: 218.7 kB / 1.279 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8182, allocations: 3.875 kB / 1.279 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8182, allocations: 4.609 kB / 1.279 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.8182, allocations: 6 kB / 1.279 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.8204, allocations: 1.572 MB / 1.28 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8204, allocations: 0 / 1.28 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.8207, allocations: 78.31 kB / 1.28 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.8207, allocations: 2.812 kB / 1.28 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.8208, allocations: 11.16 kB / 1.28 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.8208, allocations: 6.406 kB / 1.28 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8208, allocations: 6.594 kB / 1.28 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.8216, allocations: 0.6429 MB / 1.281 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/0.8221, allocations: 381.2 kB / 1.281 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.8223, allocations: 10.22 kB / 1.281 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.8227, allocations: 17.59 kB / 1.281 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.8228, allocations: 24.38 kB / 1.281 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.8228, allocations: 10.16 kB / 1.281 GB, free: 11.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002442/0.8253, allocations: 1.83 MB / 1.283 GB, free: 10.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8253, allocations: 0 / 1.283 GB, free: 10.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005975/0.8259, allocations: 232.3 kB / 1.283 GB, free: 10.4 MB / 1.014 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.001396/0.8273, allocations: 1.255 MB / 1.285 GB, free: 9.492 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.8278, allocations: 341 kB / 1.285 GB, free: 9.395 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8278, allocations: 0 / 1.285 GB, free: 9.395 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.8281, allocations: 172.2 kB / 1.285 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.8305, allocations: 0.6368 MB / 1.286 GB, free: 9.133 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.8513, allocations: 14.87 MB / 1.3 GB, free: 3.504 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.8529, allocations: 1.751 MB / 1.302 GB, free: 2.598 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008115/0.8537, allocations: 310.5 kB / 1.302 GB, free: 2.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/0.8545, allocations: 0.5932 MB / 1.303 GB, free: 2.086 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.8545, allocations: 0 / 1.303 GB, free: 2.086 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07363/0.9282, allocations: 39.77 MB / 1.342 GB, free: 15.63 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.58, allocations: 21.41 kB / 1.342 GB, free: 15.62 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 400 --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